class XorpReasonedException
|
A base class for XORP exceptions that keeps the reason for exception.
More... |
|
|
Public Methods
- XorpReasonedException (const char* init_what, const char* file,
size_t line, const string& init_why)
- const string why () const
Protected Members
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]
Get the reason for throwing an exception.
Returns: the string with the reason for throwing an exception.
Reimplemented from XorpException.
[protected]
Generated by: pavlin on possum.icir.org on Mon Mar 10 19:34:43 2003, using kdoc 2.0a54+XORP. |