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