All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GException::fits_open_error Class Reference

#include <GException.hpp>

Inheritance diagram for GException::fits_open_error:

Public Member Functions

 fits_open_error (std::string origin, std::string filename, int status, std::string message="")
 FITS error: unable to open 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 277 of file GException.hpp.

Constructor & Destructor Documentation

GException::fits_open_error::fits_open_error ( std::string  origin,
std::string  filename,
int  status,
std::string  message = "" 

FITS error: unable to open FITS file.

[in]originMethod that throws the error.
[in]filenameName of the file for which opening was attempted.
[in]statuscfitsio status.
[in]messageOptional error message.

Definition at line 78 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: