GeoTessCPP
2.0.0
Software to facilitate storage and retrieval of 3D information about the Earth.
|
#include <GeoTessException.h>
Public Member Functions | |
GeoTessException (std::string message, int code) | |
GeoTessException (ostringstream &os, const string &file, int line, int code) | |
GeoTessException (const string &msg, const string &file, int line, int code) | |
virtual | ~GeoTessException () |
Static Public Member Functions | |
static void | appendInfo (ostringstream &os, const string &file, int line) |
static void | appendInfo (string &msg, const string &file, int line) |
Public Attributes | |
int | ecode |
string | emessage |
An exception class for all GeoTess objects.
geotess::GeoTessException::GeoTessException | ( | std::string | message, |
int | code | ||
) | [inline] |
Parameterized constructor specifying the error message to be displayed.
geotess::GeoTessException::GeoTessException | ( | ostringstream & | os, |
const string & | file, | ||
int | line, | ||
int | code | ||
) | [inline] |
Standard Constructor taking a partially defined string stream, which contains the basic error message, and appending version, file, and line number (of error) to the stream before assigning its entire contents to the message of this exception. The error code is also assigned.
geotess::GeoTessException::GeoTessException | ( | const string & | msg, |
const string & | file, | ||
int | line, | ||
int | code | ||
) | [inline] |
Standard Constructor taking a partially defined string stream, which contains the basic error message, and appending version, file, and line number (of error) to the stream before assigning its entire contents to the message of this exception. The error code is also assigned.
virtual geotess::GeoTessException::~GeoTessException | ( | ) | [inline, virtual] |
Destructor.
static void geotess::GeoTessException::appendInfo | ( | ostringstream & | os, |
const string & | file, | ||
int | line | ||
) | [inline, static] |
Appends version, file, and line number information to the input string stream.
static void geotess::GeoTessException::appendInfo | ( | string & | msg, |
const string & | file, | ||
int | line | ||
) | [inline, static] |
Appends version, file, and line number information to the input string stream.
Public error code set to one of the error constantants defined in this file.