wibble::exception::Regexp Class Reference

#include <regexp.h>

Inheritance diagram for wibble::exception::Regexp:
[legend]
Collaboration diagram for wibble::exception::Regexp:
[legend]

List of all members.

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.

Protected Attributes

int m_code
std::string m_message

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 () [inline, virtual]

Get the regexp error code associated to the exception.

References m_code.

virtual std::string wibble::exception::Regexp::desc (  )  const throw () [inline, virtual]

Get a string describing what happened that threw the exception.

Reimplemented from wibble::exception::Generic.

References m_message.

virtual const char* wibble::exception::Regexp::type (  )  const throw () [inline, virtual]

Get a string tag identifying the exception type.

Reimplemented from wibble::exception::Generic.


Member Data Documentation

Referenced by code().

std::string wibble::exception::Regexp::m_message [protected]

Referenced by desc().


The documentation for this class was generated from the following file:
Generated on Tue May 11 17:28:12 2010 for wibble by  doxygen 1.6.3