class XorpReasonedException

A base class for XORP exceptions that keeps the reason for exception. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

 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_whatthe type of exception.
filethe file name where the exception was thrown.
linethe line in file where the exception was thrown.
init_whythe 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]


Generated by: pavlin on possum.icir.org on Wed Mar 21 11:22:16 2007, using kdoc $.