|
|
XorpException (const char* init_what, const char* file, size_t line)
| XorpException |
Constructor for a given type for exception, file name, and file line number.
Parameters:
init_what | the type of exception. |
file | the file name where the exception was thrown. |
line | the line in file where the exception was thrown. |
~XorpException ()
| ~XorpException |
[virtual]
const string what ()
| what |
[const]
Get the type of this exception.
Returns: the string with the type of this exception.
const string where ()
| where |
[const]
Get the location for throwing an exception.
Returns: the string with the location (file name and file line number) for throwing an exception.
const string why ()
| why |
[const virtual]
Get the reason for throwing an exception.
Returns: the string with the reason for throwing an exception.
string str ()
| str |
[const]
Convert this exception from binary form to presentation format.
Returns: C++ string with the human-readable ASCII representation of the exception.
string _what | _what |
[protected]
const char* _file | _file |
[protected]
size_t _line | _line |
[protected]