wibble::exception::Consistency Class Reference

Exception thrown when some consistency check fails. More...

#include <exception.h>

Inheritance diagram for wibble::exception::Consistency:
[legend]
Collaboration diagram for wibble::exception::Consistency:
[legend]

List of all members.

Public Member Functions

 Consistency (const std::string &context, const std::string &error=std::string()) throw ()
 ~Consistency () 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

Exception thrown when some consistency check fails.

It is a direct child of ContextException, and has the very same semantics.


Constructor & Destructor Documentation

wibble::exception::Consistency::Consistency ( const std::string &  context,
const std::string &  error = std::string() 
) throw () [inline]
wibble::exception::Consistency::~Consistency (  )  throw () [inline]

Member Function Documentation

virtual std::string wibble::exception::Consistency::desc (  )  const throw () [inline, virtual]

Get a string describing what happened that threw the exception.

Reimplemented from wibble::exception::Generic.

Reimplemented in wibble::exception::BadOption, wibble::exception::BadCast, wibble::exception::OutOfRange, and wibble::exception::ValOutOfRange< C >.

virtual const char* wibble::exception::Consistency::type (  )  const throw () [inline, virtual]

Get a string tag identifying the exception type.

Reimplemented from wibble::exception::Generic.

Reimplemented in wibble::exception::BadOption, wibble::exception::OutOfRange, and wibble::exception::ValOutOfRange< C >.


The documentation for this class was generated from the following file:
Generated on Tue May 11 13:30:14 2010 for wibble by  doxygen 1.6.3