All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Exception.cpp File Reference

This class is designed to declare objects to be thrown as exceptions by TerraLib. More...

#include "Exception.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (const te::common::Exception &e, std::ostream &o)
 It serializes the exception and sends it to the output stream. More...
 

Detailed Description

This class is designed to declare objects to be thrown as exceptions by TerraLib.

Definition in file Exception.cpp.

Function Documentation

std::ostream& operator<< ( const Exception &  e,
std::ostream &  o 
)

It serializes the exception and sends it to the output stream.

Parameters
eAn exception object.
oAn output stream.
Returns
The output stream.

Definition at line 68 of file Exception.cpp.

References te::common::Exception::getClassName(), and te::common::Exception::what().