#include <exception.hpp>
Public Member Functions | |
Exception (const std::string &error) | |
Exception (const char *file, int line, const std::string &error) | |
Advanced constructor. | |
virtual | ~Exception () |
const std::string & | getError () const |
Get the error message associated with this exception.. | |
Private Attributes | |
std::string | ErrorMsg |
This very simple exception class can only hold an error message which can be used to give at least partially useful output to the user.
Definition at line 20 of file exception.hpp.
|
Constructor.
Definition at line 19 of file exception.cpp. |
|
Advanced constructor. This constructor takes the additional file and line arguments to provide more useful debug output.
Definition at line 33 of file exception.cpp. |
|
Destroys the object Definition at line 44 of file exception.cpp. |