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

#include <GException.hpp>

Inheritance diagram for GException::erange_invalid:
GExceptionHandler

Public Member Functions

 erange_invalid (std::string origin, double emin, double emax, std::string message="")
 Invalid energy range 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 574 of file GException.hpp.

Constructor & Destructor Documentation

GException::erange_invalid::erange_invalid ( std::string  origin,
double  emin,
double  emax,
std::string  message = "" 
)

Invalid energy range found.

Parameters
[in]originMethod that throws the error.
[in]eminMinimum energy in MeV.
[in]emaxMaximum energy in MeV.
[in]messageOptional error message.

Definition at line 258 of file GException_obs.cpp.

References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().


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