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

#include <GException.hpp>

Inheritance diagram for GException::fits_hdu_not_found:
GExceptionHandler

Public Member Functions

 fits_hdu_not_found (std::string origin, std::string extname, int status=0)
 FITS error: HDU not found in FITS file. More...
 
 fits_hdu_not_found (std::string origin, int extno, int status=0)
 FITS error: HDU not found in FITS file. 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 326 of file GException.hpp.

Constructor & Destructor Documentation

GException::fits_hdu_not_found::fits_hdu_not_found ( std::string  origin,
std::string  extname,
int  status = 0 
)

FITS error: HDU not found in FITS file.

Parameters
[in]originMethod that throws the error.
[in]extnameName of the extension that was not found.
[in]statuscfitsio status.

Definition at line 258 of file GException_fits.cpp.

References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().

GException::fits_hdu_not_found::fits_hdu_not_found ( std::string  origin,
int  extno,
int  status = 0 
)

FITS error: HDU not found in FITS file.

Parameters
[in]originMethod that throws the error.
[in]extnoNumber of the extension that was not found.
[in]statuscfitsio status.

Definition at line 284 of file GException_fits.cpp.

References GExceptionHandler::m_message, GExceptionHandler::m_origin, and gammalib::str().


The documentation for this class was generated from the following files: