|
|
XorpReasonedException (const char* init_what, const char* file,
size_t line, const string& init_why)
| XorpReasonedException |
Constructor for a given type for exception, file name, file line number, and a reason.
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. |
init_why | the reason for the exception that was thrown. |
const string why ()
| why |
[const]
Get the reason for throwing an exception.
Returns: the string with the reason for throwing an exception.
Reimplemented from XorpException.
string _why | _why |
[protected]