CCfits  2.6
Public Member Functions | List of all members
CCfits::FITS::NoSuchHDU Class Reference

exception thrown by HDU retrieval methods. More...

#include <FITS.h>

Inheritance diagram for CCfits::FITS::NoSuchHDU:
Inheritance diagram CCfits::FitsException

Public Member Functions

 NoSuchHDU (const String &diag, bool silent=true)
 Exception ctor, prefixes the string "FITS Error: Cannot read HDU in FITS file:" before the specific message. More...
 
- Public Member Functions inherited from CCfits::FitsException
 FitsException (const string &msg, bool &silent)
 
const string & message () const
 returns the error message More...
 

Detailed Description

exception thrown by HDU retrieval methods.

Constructor & Destructor Documentation

CCfits::FITS::NoSuchHDU::NoSuchHDU ( const String &  diag,
bool  silent = true 
)

Exception ctor, prefixes the string "FITS Error: Cannot read HDU in FITS file:" before the specific message.

Parameters
diagA specific diagnostic message, usually the name of the extension whose read was attempted.
silentif true, print message whether FITS::verboseMode is set or not.

Exception to be thrown by failed seek operations


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