GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
model_invalid_spatial (std::string origin, std::string type, std::string message="") | |
Invalid spatial 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 |
Definition at line 640 of file GException.hpp.
GException::model_invalid_spatial::model_invalid_spatial | ( | std::string | origin, |
std::string | type, | ||
std::string | message = "" |
||
) |
Invalid spatial model type.
[in] | origin | Method that throws the error. |
[in] | type | Spatial model type that has been encountered. |
[in] | message | Optional error message. |
Definition at line 80 of file GException_model.cpp.
References GExceptionHandler::m_message, GExceptionHandler::m_origin, GModelSpatialRegistry::name(), and GModelSpatialRegistry::size().