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

#include <GException.hpp>

Inheritance diagram for GException::invalid_instrument:
GExceptionHandler

Public Member Functions

 invalid_instrument (std::string origin, std::string instrument, std::string message="")
 Invalid instrument encountered. 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 584 of file GException.hpp.

Constructor & Destructor Documentation

GException::invalid_instrument::invalid_instrument ( std::string  origin,
std::string  instrument,
std::string  message = "" 
)

Invalid instrument encountered.

Parameters
[in]originMethod that throws the error.
[in]instrumentEncountered instrument.
[in]messageOptional error message.

Definition at line 309 of file GException_obs.cpp.

References GExceptionHandler::m_message, GExceptionHandler::m_origin, GObservationRegistry::name(), and GObservationRegistry::size().


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