|
GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
| time_invalid_unit (const std::string &origin, const std::string &unit, const std::string &message="") | |
| Invalid time unit encountered. 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 589 of file GException.hpp.
| GException::time_invalid_unit::time_invalid_unit | ( | const std::string & | origin, |
| const std::string & | unit, | ||
| const std::string & | message = "" |
||
| ) |
Invalid time unit encountered.
| [in] | origin | Method that throws the error. |
| [in] | unit | Time unit. |
| [in] | message | Optional error message. |
Definition at line 348 of file GException_obs.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.