wibble
1.1
|
Exception thrown when some consistency check fails. More...
#include <exception.h>
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. More... | |
virtual std::string | desc () const throw () |
Get a string describing what happened that threw the exception. More... | |
![]() | |
Generic () throw () | |
Generic (const std::string &context) throw () | |
virtual | ~Generic () throw () |
virtual const std::string & | fullInfo () const throw () |
Format in a string all available information about the exception. More... | |
virtual const char * | what () const throw () |
![]() | |
Context () throw () | |
Context (const std::string &context) throw () | |
void | addContext (const std::string &c) throw () |
std::string | formatContext () const throw () |
const std::vector< std::string > & | context () const throw () |
Additional Inherited Members | |
![]() | |
std::string | m_formatted |
![]() | |
std::vector< std::string > | m_context |
Exception thrown when some consistency check fails.
It is a direct child of ContextException, and has the very same semantics.
|
inline |
|
inline |
|
inlinevirtual |
Get a string describing what happened that threw the exception.
Reimplemented from wibble::exception::Generic.
Reimplemented in wibble::exception::ValOutOfRange< C >, wibble::exception::OutOfRange, wibble::exception::BadCast, and wibble::exception::BadOption.
|
inlinevirtual |
Get a string tag identifying the exception type.
Reimplemented from wibble::exception::Generic.
Reimplemented in wibble::exception::ValOutOfRange< C >, wibble::exception::OutOfRange, and wibble::exception::BadOption.