Class for generating exceptions. More...
#include <common/common.hh>
Inherited by InternalError.
Public Member Functions | |
| Exception () | |
| Constructor. More... | |
| Exception (const char *_file, int _line, std::string _msg) | |
| Default constructor. More... | |
| virtual | ~Exception () |
| Destructor. More... | |
| std::string | GetErrorFile () const |
| Return the error function. More... | |
| std::string | GetErrorStr () const |
| Return the error string. More... | |
| void | Print () const |
| Print the exception to std out. More... | |
Class for generating exceptions.
| Exception | ( | ) |
Constructor.
| Exception | ( | const char * | _file, |
| int | _line, | ||
| std::string | _msg | ||
| ) |
Default constructor.
| [in] | _file | File name |
| [in] | _line | Line number where the error occurred |
| [in] | _msg | Error message |
|
virtual |
Destructor.
| std::string GetErrorFile | ( | ) | const |
Return the error function.
| std::string GetErrorStr | ( | ) | const |
Return the error string.
| void Print | ( | ) | const |
Print the exception to std out.