#include <Exception.h>
Inheritance diagram for ContextException:
Public Member Functions | |
ContextException (const std::string &context) throw () | |
Construct the ContextException, providing the context description in printf syntax. | |
~ContextException () 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. | |
virtual std::string | context () const throw () |
Protected Attributes | |
std::string | _context |
|
Construct the ContextException, providing the context description in printf syntax. The context should be phrased like "Bad thing A happened when doing B" |
|
|
|
|
|
Get a string describing what happened that threw the exception.
Reimplemented from Exception. Reimplemented in OutOfRangeException, ValOutOfRangeException< C >, and SystemException. |
|
Get a string tag identifying the exception type.
Reimplemented from Exception. Reimplemented in InterruptedException, WaitInterruptedException, ConsistencyCheckException, OutOfRangeException, ValOutOfRangeException< C >, SystemException, and FileException. |
|
|