#include <Exception.h>
Inheritance diagram for Tagcoll::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 Tagcoll::Exception. Reimplemented in Tagcoll::OutOfRangeException, Tagcoll::ValOutOfRangeException< C >, Tagcoll::SystemException, and Tagcoll::ParserException. |
|
Get a string tag identifying the exception type.
Reimplemented from Tagcoll::Exception. Reimplemented in Tagcoll::InterruptedException, Tagcoll::WaitInterruptedException, Tagcoll::ConsistencyCheckException, Tagcoll::OutOfRangeException, Tagcoll::ValOutOfRangeException< C >, Tagcoll::SystemException, Tagcoll::FileException, Tagcoll::ParserException, and Tagcoll::ParserInputException. |
|
|