#include <Exception.hpp>
Inheritance diagram for H::Exception:
Public Member Functions | |
virtual const ExceptionType | getExceptionType () const |
Get the type of exception. | |
virtual const std::string & | getExceptionMessage () const |
Get the exception's message. | |
virtual const char * | what () |
Get the exceptions message. | |
virtual const char * | message () |
Get the exceptions message. | |
virtual | operator const char * () const |
operator overload for const char * -- get the Exception's message | |
Exception (const std::string &Message, ExceptionType Type=EXCEPTION_NORMAL) | |
Default Constructor. | |
Exception (const std::string &Message, const std::string &File, const std::string &Function, int LineNumber, ExceptionType Type=EXCEPTION_NORMAL) | |
Extended Constructor. | |
virtual | ~Exception () throw () |
Destructor. | |
Protected Attributes | |
std::string | mMessage |
the Exception's informational message | |
ExceptionType | mType |
the type of the exceptionl |
Generic Exception class which takes a string message as a constructor For throwing informative error messages