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

#include <GException.hpp>

Inheritance diagram for GException::model_invalid_parscale:
GExceptionHandler

Public Member Functions

 model_invalid_parscale (std::string origin, double scale, std::string message="")
 Model parameter has invalid scale. More...
 
 model_invalid_parscale (std::string origin, GXmlElement xml, std::string message="")
 Model parameter has invalid scale. 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 680 of file GException.hpp.

Constructor & Destructor Documentation

GException::model_invalid_parscale::model_invalid_parscale ( std::string  origin,
double  scale,
std::string  message = "" 
)

Model parameter has invalid scale.

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

Definition at line 269 of file GException_model.cpp.

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

GException::model_invalid_parscale::model_invalid_parscale ( std::string  origin,
GXmlElement  xml,
std::string  message = "" 
)

Model parameter has invalid scale.

Parameters
[in]originMethod that throws the error.
[in]xmlXML element.
[in]messageOptional error message.

Definition at line 290 of file GException_model.cpp.

References GExceptionHandler::m_message, and GExceptionHandler::m_origin.


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