wibble
0.1.28
|
#include <core.h>
Public Member Functions | |
BadOption (const std::string &error, const std::string &context=std::string("parsing commandline options")) throw () | |
~BadOption () 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. |
wibble::exception::BadOption::BadOption | ( | const std::string & | error, |
const std::string & | context = std::string("parsing commandline options") |
||
) | throw () [inline] |
wibble::exception::BadOption::~BadOption | ( | ) | throw () [inline] |
virtual std::string wibble::exception::BadOption::desc | ( | ) | const throw () [inline, virtual] |
Get a string describing what happened that threw the exception.
Reimplemented from wibble::exception::Consistency.
virtual const char* wibble::exception::BadOption::type | ( | ) | const throw () [inline, virtual] |
Get a string tag identifying the exception type.
Reimplemented from wibble::exception::Consistency.