#include <Exception.hpp>
|
| | Exception (const char *file, int line, const char *msg, int errorCode, const Exception *otherException=0) |
| |
| ca_mgm::Exception::Exception |
( |
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
msg, |
|
|
int |
errorCode, |
|
|
const Exception * |
otherException = 0 |
|
) |
| |
|
protected |
| ca_mgm::Exception::Exception |
( |
const Exception & |
e | ) |
|
| virtual ca_mgm::Exception::~Exception |
( |
| ) |
|
| throw | ( | |
| ) | | |
|
virtual |
| int ca_mgm::Exception::getErrorCode |
( |
| ) |
const |
Returns the error code representing the error which occurred. Code are unique only in the scope of the derived exception class. May return UNKNONWN_ERROR_CODE if the error is unavailable.
| const char* ca_mgm::Exception::getFile |
( |
| ) |
const |
Returns the file. May return 0.
| virtual std::string ca_mgm::Exception::getFullMessage |
( |
| ) |
const |
|
virtual |
Returns the full message. This function will not throw. Derived class implementations must not throw.
| int ca_mgm::Exception::getLine |
( |
| ) |
const |
| virtual const char* ca_mgm::Exception::getMessage |
( |
| ) |
const |
|
virtual |
Returns the message. May return 0. This function will not throw. Derived class implementations must not throw.
| virtual const char* ca_mgm::Exception::type |
( |
| ) |
const |
|
virtual |
| virtual const char* ca_mgm::Exception::what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
virtual |
| std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const Exception & |
obj |
|
) |
| |
|
friend |
| int ca_mgm::Exception::m_errorCode |
|
private |
| char* ca_mgm::Exception::m_file |
|
private |
| int ca_mgm::Exception::m_line |
|
private |
| char* ca_mgm::Exception::m_msg |
|
private |
The documentation for this class was generated from the following file: