GammaLib
2.0.0.dev
|
#include <GException.hpp>
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 |
Definition at line 555 of file GException.hpp.
GException::gradient_par_mismatch::gradient_par_mismatch | ( | std::string | origin, |
int | nsize, | ||
int | npars | ||
) |
Mismatch between gradient vector and number of model parameters.
[in] | origin | Method that throws the error. |
[in] | nsize | Gradient vector size. |
[in] | npars | Number of parameters in model. |
Definition at line 158 of file GException_obs.cpp.
References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().