GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
erange_invalid (std::string origin, double emin, double emax, std::string message="") | |
Invalid energy range found. 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 574 of file GException.hpp.
GException::erange_invalid::erange_invalid | ( | std::string | origin, |
double | emin, | ||
double | emax, | ||
std::string | message = "" |
||
) |
Invalid energy range found.
[in] | origin | Method that throws the error. |
[in] | emin | Minimum energy in MeV. |
[in] | emax | Maximum energy in MeV. |
[in] | message | Optional error message. |
Definition at line 258 of file GException_obs.cpp.
References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().