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

#include <GException.hpp>

Inheritance diagram for GException::gradient_par_mismatch:
GExceptionHandler

Public Member Functions

 gradient_par_mismatch (std::string origin, int nsize, int npars)
 Mismatch between gradient vector and number of model parameters. 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 555 of file GException.hpp.

Constructor & Destructor Documentation

GException::gradient_par_mismatch::gradient_par_mismatch ( std::string  origin,
int  nsize,
int  npars 
)

Mismatch between gradient vector and number of model parameters.

Parameters
[in]originMethod that throws the error.
[in]nsizeGradient vector size.
[in]nparsNumber of parameters in model.

Definition at line 158 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: