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 kobe.xorp.net on Wed Jan 7 19:10:36 2009, using kdoc 2.0a54+XORP.