GammaLib  2.0.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GMWLException::bad_response_type Class Reference

#include <GMWLException.hpp>

Inheritance diagram for GMWLException::bad_response_type:
GMWLExceptionHandler

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
 

Detailed Description

Definition at line 78 of file GMWLException.hpp.

Constructor & Destructor Documentation

GMWLException::bad_response_type::bad_response_type ( std::string  origin,
std::string  message = "" 
)

Response is not a MWL response.

Parameters
[in]originName of method that has thrown the exception.
[in]messageOptional error message.

Definition at line 130 of file GMWLException.cpp.

References GMWLExceptionHandler::m_message, and GMWLExceptionHandler::m_origin.


The documentation for this class was generated from the following files: