GammaLib
2.0.0.dev
|
#include <GCTAException.hpp>
Public Member Functions | |
bad_model_type (const std::string &origin, const std::string &message="") | |
Response is not a CTA response. More... | |
Public Member Functions inherited from GCTAExceptionHandler | |
GCTAExceptionHandler (void) | |
virtual | ~GCTAExceptionHandler (void) throw () |
virtual const char * | what () const throw () |
Exception message. More... | |
Additional Inherited Members | |
Protected Attributes inherited from GCTAExceptionHandler | |
std::string | m_origin |
std::string | m_message |
Definition at line 134 of file GCTAException.hpp.
GCTAException::bad_model_type::bad_model_type | ( | const std::string & | origin, |
const std::string & | message = "" |
||
) |
Response is not a CTA response.
[in] | origin | Name of method that has thrown the exception. |
[in] | message | Optional error message. |
Definition at line 372 of file GCTAException.cpp.
References GCTAExceptionHandler::m_message, and GCTAExceptionHandler::m_origin.