GammaLib
2.1.0.dev
|
#include <GException.hpp>
Public Member Functions | |
runtime_error (const std::string &origin, const std::string &message="") | |
Runtime error. More... | |
Public Member Functions inherited from GExceptionHandler | |
GExceptionHandler () | |
virtual | ~GExceptionHandler () throw () |
virtual const char * | what () const throw () |
Exception message. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GExceptionHandler | |
std::string | m_origin |
std::string | m_message |
Definition at line 126 of file GException.hpp.
GException::runtime_error::runtime_error | ( | const std::string & | origin, |
const std::string & | message = "" |
||
) |
Runtime error.
[in] | origin | Name of method that has thrown the exception. |
[in] | message | Error message. |
Definition at line 193 of file GException.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.