|
GammaLib 2.2.0.dev
|
#include <GException.hpp>
Public Member Functions | |
| invalid_argument (const std::string &origin, const std::string &message) | |
| Invalid argument. | |
| invalid_argument (const std::string &origin, const std::string &argument, const std::string &message) | |
| Invalid argument. | |
Public Member Functions inherited from GExceptionHandler | |
| GExceptionHandler () | |
| virtual | ~GExceptionHandler () throw () |
| virtual const char * | what () const throw () |
| Exception message. | |
Additional Inherited Members | |
Protected Attributes inherited from GExceptionHandler | |
| std::string | m_origin |
| std::string | m_message |
Definition at line 88 of file GException.hpp.
| GException::invalid_argument::invalid_argument | ( | const std::string & | origin, |
| const std::string & | message ) |
Invalid argument.
| [in] | origin | Name of method that has thrown the exception. |
| [in] | message | Error message. |
Definition at line 76 of file GException.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.
| GException::invalid_argument::invalid_argument | ( | const std::string & | origin, |
| const std::string & | argument, | ||
| const std::string & | message ) |
Invalid argument.
| [in] | origin | Name of method that has thrown the exception. |
| [in] | argument | Argument name. |
| [in] | message | Optional message. |
This exception signals that a specified argument was not valid.
Definition at line 102 of file GException.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.