Athena IO Library
|
The baseclass for all Exceptions. More...
#include <Exception.hpp>
Public Member Functions | |
Exception (const std::string &message, const std::string &file, const std::string &function, const int line) | |
The constructor for an Exception. More... | |
std::string | message () const |
Returns the Error message of the exception. More... | |
std::string | file () const |
std::string | function () const |
int | line () const |
std::string | formattedMessage () const |
Protected Attributes | |
std::string | m_message |
The error message string. | |
std::string | m_file |
std::string | m_function |
int | m_line |
std::string | m_exceptionName |
The baseclass for all Exceptions.
Do Not use Exception directly, instead create an appropriate Exception class and inherit from this baseclass.
Definition at line 38 of file Exception.hpp.
|
inline |
The constructor for an Exception.
message | The error message to throw |
Definition at line 44 of file Exception.hpp.
|
inline |
Returns the Error message of the exception.
Definition at line 56 of file Exception.hpp.