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

#include <GException.hpp>

Inheritance diagram for GException::model_invalid_spectral:
GExceptionHandler

Public Member Functions

 model_invalid_spectral (std::string origin, std::string type, std::string message="")
 Invalid spectral model type. 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 645 of file GException.hpp.

Constructor & Destructor Documentation

GException::model_invalid_spectral::model_invalid_spectral ( std::string  origin,
std::string  type,
std::string  message = "" 
)

Invalid spectral model type.

Parameters
[in]originMethod that throws the error.
[in]typeSpectral model type that has been encountered.
[in]messageOptional error message.

Definition at line 115 of file GException_model.cpp.

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


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