GammaLib  2.0.0.dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GException::env_not_found Class Reference

#include <GException.hpp>

Inheritance diagram for GException::env_not_found:
GExceptionHandler

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
 

Detailed Description

Definition at line 156 of file GException.hpp.

Constructor & Destructor Documentation

GException::env_not_found::env_not_found ( std::string  origin,
std::string  envname,
std::string  message = "" 
)

Environment variable not found.

Parameters
[in]originName of method that has thrown the exception.
[in]envnameName of environment variable.
[in]messageOptional 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.


The documentation for this class was generated from the following files: