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

#include <GException.hpp>

Inheritance diagram for GException::invalid_argument:
GExceptionHandler

Public Member Functions

 invalid_argument (const std::string &origin, const std::string &message)
 Invalid argument. More...
 
 invalid_argument (const std::string &origin, const std::string &argument, const std::string &message)
 Invalid argument. 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 88 of file GException.hpp.

Constructor & Destructor Documentation

GException::invalid_argument::invalid_argument ( const std::string &  origin,
const std::string &  message 
)

Invalid argument.

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

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


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