#include <regexp.h>
Public Member Functions |
| Regexp (const regex_t &re, int code, const std::string &context) throw () |
| ~Regexp () throw () |
virtual int | code () const throw () |
| Get the regexp error code associated to the exception.
|
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.
|
| 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::Regexp::Regexp |
( |
const regex_t & |
re, |
|
|
int |
code, |
|
|
const std::string & |
context |
|
) |
| throw () |
wibble::exception::Regexp::~Regexp |
( |
| ) |
throw () |
|
inline |
Member Function Documentation
virtual int wibble::exception::Regexp::code |
( |
| ) |
const throw () |
|
inlinevirtual |
Get the regexp error code associated to the exception.
References m_code.
virtual std::string wibble::exception::Regexp::desc |
( |
| ) |
const throw () |
|
inlinevirtual |
virtual const char* wibble::exception::Regexp::type |
( |
| ) |
const throw () |
|
inlinevirtual |
Member Data Documentation
int wibble::exception::Regexp::m_code |
|
protected |
std::string wibble::exception::Regexp::m_message |
|
protected |
The documentation for this class was generated from the following file: