36 #ifndef GEOTESSException_H
37 #define GEOTESSException_H
83 : emessage(message), ecode(code)
94 : emessage(
""), ecode(code)
98 <<
", Line: " << line << endl << endl;
109 : emessage(
""), ecode(code)
126 static void appendInfo(ostringstream& os,
const string& file,
int line)
129 <<
", Line: " << line << endl << endl;
135 static void appendInfo(
string& msg,
const string& file,
int line)
146 #endif // GEOTESSException_H
Definition: ArrayReuse.h:55
virtual ~GeoTessException()
Destructor.
Definition: GeoTessException.h:119
GeoTessException(ostringstream &os, const string &file, int line, int code)
Standard Constructor taking a partially defined string stream, which contains the basic error message...
Definition: GeoTessException.h:93
static void appendInfo(ostringstream &os, const string &file, int line)
Appends version, file, and line number information to the input string stream.
Definition: GeoTessException.h:126
GeoTessException(const string &msg, const string &file, int line, int code)
Standard Constructor taking a partially defined string stream, which contains the basic error message...
Definition: GeoTessException.h:108
string emessage
Definition: GeoTessException.h:72
An exception class for all GeoTess objects.
Definition: GeoTessException.h:65
static const string getOpSys()
Returns the operating system type.
GeoTessException(std::string message, int code)
Parameterized constructor specifying the error message to be displayed.
Definition: GeoTessException.h:82
int ecode
Public error code set to one of the error constantants defined in this file.
Definition: GeoTessException.h:77
static string getVersion()
The current GeoTess version.
Definition: GeoTessUtils.h:125
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71
static void appendInfo(string &msg, const string &file, int line)
Appends version, file, and line number information to the input string stream.
Definition: GeoTessException.h:135
static string itos(int i, const string &frmt="%d")
Static functions that returns the input integer, float, double, or boolean, as a string.