Exception Class Reference

This is the base class for all exceptions used in the system. More...

#include <Exception.h>

Inheritance diagram for Exception:

ContextException ConsistencyCheckException InterruptedException SystemException OutOfRangeException WaitInterruptedException FileException ValOutOfRangeException< C > List of all members.

Public Member Functions

 Exception () throw ()
virtual ~Exception () throw ()
 Exception (const Exception &e) throw ()
virtual const char * type () const throw ()
 Get a string tag identifying the exception type.
virtual std::string desc () const throw ()
 Get a string describing what happened that threw the exception.

Detailed Description

This is the base class for all exceptions used in the system.

It provides an interface to get a (hopefully detailed) textual description of the exception, and a tag describing the type of exception. Further functionality will be provided by subclassers


Constructor & Destructor Documentation

Exception::Exception  )  throw () [inline]
 

virtual Exception::~Exception  )  throw () [inline, virtual]
 

Exception::Exception const Exception e  )  throw () [inline]
 


Member Function Documentation

virtual std::string Exception::desc  )  const throw () [inline, virtual]
 

Get a string describing what happened that threw the exception.

Reimplemented in ContextException, OutOfRangeException, ValOutOfRangeException< C >, and SystemException.

virtual const char* Exception::type  )  const throw () [inline, virtual]
 

Get a string tag identifying the exception type.

Reimplemented in ContextException, InterruptedException, WaitInterruptedException, ConsistencyCheckException, OutOfRangeException, ValOutOfRangeException< C >, SystemException, and FileException.


The documentation for this class was generated from the following file:
Generated on Wed Nov 30 18:18:30 2005 for libbuffy by  doxygen 1.4.5