|
GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
| bad_type (std::string origin, std::string message="") | |
| Invalid type conversion. 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 149 of file GException.hpp.
| GException::bad_type::bad_type | ( | std::string | origin, |
| std::string | message = "" |
||
| ) |
Invalid type conversion.
| [in] | origin | Name of method that has thrown the exception. |
| [in] | message | Optional message. |
Definition at line 270 of file GException.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.