class XorpException

A base class for XORP exceptions. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Members


Detailed Description

 XorpException (const char* init_what, const char* file, size_t line)

XorpException

Constructor for a given type for exception, file name, and file line number.

Parameters:

init_whatthe type of exception.
filethe file name where the exception was thrown.
linethe line in file where the exception was thrown.
 ~XorpException ()

~XorpException

[virtual]

Destructor

const string  what ()

what

[const]

Get the type of this exception.

Returns: the string with the type of this exception.

const string  where ()

where

[const]

Get the location for throwing an exception.

Returns: the string with the location (file name and file line number) for throwing an exception.

const string  why ()

why

[const virtual]

Get the reason for throwing an exception.

Returns: the string with the reason for throwing an exception.

string  str ()

str

[const]

Convert this exception from binary form to presentation format.

Returns: C++ string with the human-readable ASCII representation of the exception.

string _what

_what

[protected]

const char* _file

_file

[protected]

size_t _line

_line

[protected]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:24 2008, using kdoc 2.0a54+XORP.