#include <Exception.h>
Public Member Functions | |
E_Exception (const std::string &L="", const std::string &M="") | |
virtual | ~E_Exception () throw () |
virtual const char * | local () |
virtual const char * | what () const throw () |
Protected Attributes | |
std::string | m_msg |
std::string | m_loc |
E_Exception::E_Exception | ( | const std::string & | L = "" , |
|
const std::string & | M = "" | |||
) | [inline] |
Create an exception with an optional message "L" and an error message "M".
virtual E_Exception::~E_Exception | ( | ) | throw () [inline, virtual] |
virtual const char* E_Exception::local | ( | ) | [inline, virtual] |
Return the user message.
References m_loc.
virtual const char* E_Exception::what | ( | ) | const throw () [inline, virtual] |
std::string E_Exception::m_msg [protected] |
The error message.
Referenced by what().
std::string E_Exception::m_loc [protected] |
Optional message, such as the name of the function where throw was called.
Referenced by local().