|
GammaLib
2.0.0.dev
|
#include <GException.hpp>
Public Member Functions | |
| skymap_bad_size (std::string origin, int size, int expected, std::string message="") | |
| Incompatible data size. 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 417 of file GException.hpp.
| GException::skymap_bad_size::skymap_bad_size | ( | std::string | origin, |
| int | size, | ||
| int | expected, | ||
| std::string | message = "" |
||
| ) |
Incompatible data size.
| [in] | origin | Method that throws the error. |
| [in] | size | Encountered data size. |
| [in] | expected | Expected data size. |
| [in] | message | Error message. |
Definition at line 81 of file GException_sky.cpp.
References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().