GammaLib
2.0.0
|
#include <GException.hpp>
Public Member Functions | |
fits_error (const std::string &origin, const int &status, const std::string &message="") | |
General FITS error. 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 115 of file GException.hpp.
GException::fits_error::fits_error | ( | const std::string & | origin, |
const int & | status, | ||
const std::string & | message = "" |
||
) |
General FITS error.
[in] | origin | Method that throws the error. |
[in] | status | cfitsio status. |
[in] | message | Optional error message. |
Definition at line 217 of file GException.cpp.
References __ffgerr, GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().