|
GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
| env_not_found (std::string origin, std::string envname, std::string message="") | |
| Environment variable not 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 156 of file GException.hpp.
| GException::env_not_found::env_not_found | ( | std::string | origin, |
| std::string | envname, | ||
| std::string | message = "" |
||
| ) |
Environment variable not found.
| [in] | origin | Name of method that has thrown the exception. |
| [in] | envname | Name of environment variable. |
| [in] | message | Optional message. |
This exception signals that are required environment variable was not found.
Definition at line 296 of file GException.cpp.
References GExceptionHandler::m_message, and GExceptionHandler::m_origin.