#include <GeoTessException.h>
|
static void | appendInfo (ostringstream &os, const string &file, int line) |
|
static void | appendInfo (string &msg, const string &file, int line) |
|
An exception class for all GeoTess objects.
- Author
- Sandy Ballard
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 |
( |
| ) |
|
|
inlinevirtual |
static void geotess::GeoTessException::appendInfo |
( |
ostringstream & |
os, |
|
|
const string & |
file, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
Appends version, file, and line number information to the input string stream.
static void geotess::GeoTessException::appendInfo |
( |
string & |
msg, |
|
|
const string & |
file, |
|
|
int |
line |
|
) |
| |
|
inlinestatic |
Appends version, file, and line number information to the input string stream.
int geotess::GeoTessException::ecode |
Public error code set to one of the error constantants defined in this file.
string geotess::GeoTessException::emessage |
The documentation for this class was generated from the following file: