#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.
|
| Consistency (const std::string &context, const std::string &error=std::string()) throw () |
| ~Consistency () throw () |
| 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.
|
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 () |
Constructor & Destructor Documentation
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 |
Member Function Documentation
virtual std::string wibble::exception::BadOption::desc |
( |
| ) |
const throw () |
|
inlinevirtual |
virtual const char* wibble::exception::BadOption::type |
( |
| ) |
const throw () |
|
inlinevirtual |
The documentation for this class was generated from the following file: