|
| | Exception (std::string str, const char *filename, const int lineNumber, bool report) |
| |
| | Exception (std::ostringstream &os, const char *filename, const int lineNumber, bool report) |
| |
| | Exception (gcp::util::LogStream &ls, const char *filename, const int lineNumber, bool report) |
| |
| | Exception (gcp::util::LogStream *ls, const char *filename, const int lineNumber, bool report) |
| |
| virtual | ~Exception () |
| |
| void | report () |
| |
| void | report (std::string &what) |
| |
| void | report (std::string what) |
| |
|
const char * | what () |
| |
| gcp::util::Exception::Exception |
( |
std::string |
str, |
|
|
const char * |
filename, |
|
|
const int |
lineNumber, |
|
|
bool |
report |
|
) |
| |
Construct an Exception with a detailed message.
- Parameters
-
| str | String describing error. |
| filename | where exception originated. |
| lineNumber | exception occurred on. |
| Exception::Exception |
( |
std::ostringstream & |
os, |
|
|
const char * |
fileName, |
|
|
const int |
lineNumber, |
|
|
bool |
doReport |
|
) |
| |
Construct an Error with a detailed message.
- Parameters
-
| os | ostringstream containing message |
| filename | where exception originated. |
| lineNumber | exception occurred on. |
....................................................................... Constructs an Error with a detailed message.
- Parameters
-
| os | ostringstream containing message |
| filename | where exception originated. |
| lineNumber | exception occurred on. |
| Exception::Exception |
( |
gcp::util::LogStream & |
ls, |
|
|
const char * |
fileName, |
|
|
const int |
lineNumber, |
|
|
bool |
doReport |
|
) |
| |
Constructor with an LogStream&.
....................................................................... Constructs an Error with a detailed message.
- Parameters
-
| ls | LogStream containing message |
| fileName | where exception originated. |
| lineNumber | where exception occurred. |
| Exception::Exception |
( |
gcp::util::LogStream * |
ls, |
|
|
const char * |
fileName, |
|
|
const int |
lineNumber, |
|
|
bool |
doReport |
|
) |
| |
Constructor with an LogStream*.
Constructor with a log stream.
| Exception::~Exception |
( |
| ) |
|
|
virtual |
Destructor
....................................................................... Destructor
| void gcp::util::Exception::report |
( |
| ) |
|
|
inline |
Report error to standard err. Reports error to standard error by printing the error message, filename and line number.
| void gcp::util::Exception::report |
( |
std::string & |
what | ) |
|
|
inline |
Report error to standard err. Reports error to standard error by printing the error message, filename and line number.
| void gcp::util::Exception::report |
( |
std::string |
what | ) |
|
|
inline |
Report error to standard err. Reports error to standard error by printing the error message, filename and line number.
The documentation for this class was generated from the following files:
- gcpCbass/util/common/Exception.h
- gcpCbass/util/common/Exception.cc