GammaLib
2.0.0.dev
|
#include <GMWLException.hpp>
Public Member Functions | |
invalid_unit (std::string origin, std::string unit, std::string message="") | |
Invalid or unsupported unit encountered. 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 71 of file GMWLException.hpp.
GMWLException::invalid_unit::invalid_unit | ( | std::string | origin, |
std::string | unit, | ||
std::string | message = "" |
||
) |
Invalid or unsupported unit encountered.
[in] | origin | Name of method that has thrown the exception. |
[in] | unit | Unit string. |
[in] | message | Optional error message. |
Definition at line 104 of file GMWLException.cpp.
References GMWLExceptionHandler::m_message, and GMWLExceptionHandler::m_origin.