VMime
exception Class Reference
Inheritance diagram for exception:
Collaboration diagram for exception:

Public Member Functions

 exception (const string &what, const exception &other=NO_EXCEPTION)
 
 exception (const exception &e)
 
virtual ~exception () throw ()
 
void chainException (const exception &other)
 
const exceptionother () const throw ()
 
virtual const char * name () const throw ()
 
virtual exceptionclone () const
 

Detailed Description

Base class for VMime exceptions.

Constructor & Destructor Documentation

exception ( const string what,
const exception other = NO_EXCEPTION 
)
exception ( const exception e)
~exception ( )
throw (
)
virtual

Member Function Documentation

void chainException ( const exception other)

Chain the specified exception with this exception.

Parameters
othernext exception in the chain

References exception::clone().

const exception * other ( ) const
throw (
)

Return the next exception in the chain, that is the exception that caused this exception.

This permits nesting exceptions.

Returns
next exception in the chain

The documentation for this class was generated from the following files: