|
xorp
|
A base class for XORP exceptions that keeps the reason for exception. More...
#include <exceptions.hh>
Public Member Functions | |
| XorpReasonedException (const char *init_what, const char *file, size_t line, const string &init_why) | |
| Constructor for a given type for exception, file name, file line number, and a reason. | |
| const string | why () const |
| Get the reason for throwing an exception. | |
Protected Attributes | |
| string | _why |
A base class for XORP exceptions that keeps the reason for exception.
| XorpReasonedException::XorpReasonedException | ( | const char * | init_what, |
| const char * | file, | ||
| size_t | line, | ||
| const string & | init_why | ||
| ) |
| const string XorpReasonedException::why | ( | ) | const [virtual] |
Get the reason for throwing an exception.
Reimplemented from XorpException.