General exception. More...
#include <DException.h>
Public Member Functions | |
DException (void) throw () | |
DException (const char *msg) throw () | |
DException (const string &msg) throw () | |
virtual | ~DException (void) throw () |
virtual const char * | what () const throw () |
Protected Attributes | |
string | m_message |
Error message. |
General exception.
DUtils::DException::DException | ( | void | ) | throw () [inline] |
Creates an exception with a general error message
DUtils::DException::DException | ( | const char * | msg | ) | throw () [inline] |
Creates an exception with a custom error message
msg,: | message |
DUtils::DException::DException | ( | const string & | msg | ) | throw () [inline] |
Creates an exception with a custom error message
msg,: | message |
virtual DUtils::DException::~DException | ( | void | ) | throw () [inline, virtual] |
Destructor
virtual const char* DUtils::DException::what | ( | ) | const throw () [inline, virtual] |
Returns the exception message