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

#include <GException.hpp>

Inheritance diagram for GException::fits_file_exist:
GExceptionHandler

Public Member Functions

 fits_file_exist (std::string origin, std::string filename, int status=0)
 FITS error: attempted to overwrite 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 284 of file GException.hpp.

Constructor & Destructor Documentation

GException::fits_file_exist::fits_file_exist ( std::string  origin,
std::string  filename,
int  status = 0 
)

FITS error: attempted to overwrite FITS file.

Parameters
[in]originMethod that throws the error.
[in]filenameName of the file for which overwrite attempt was made.
[in]statuscfitsio status.

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