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

#include <GException.hpp>

Inheritance diagram for GException::fits_error:
GExceptionHandler

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
 

Detailed Description

Definition at line 108 of file GException.hpp.

Constructor & Destructor Documentation

GException::fits_error::fits_error ( const std::string &  origin,
const int &  status,
const std::string &  message = "" 
)

General FITS error.

Parameters
[in]originMethod that throws the error.
[in]statuscfitsio status.
[in]messageOptional error message.

Definition at line 38 of file GException_fits.cpp.

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


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