CCfits
2.6
|
Exception to be thrown on unmatched extension types. More...
#include <ExtHDU.h>
Public Member Functions | |
WrongExtensionType (const String &msg, bool silent=true) | |
Exception ctor, prefixes the string "Fits Error: wrong extension type" 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... | |
Exception to be thrown on unmatched extension types.
This exception is to be thrown if the user requested a particular extension and it does not correspond to the expected type.
CCfits::ExtHDU::WrongExtensionType::WrongExtensionType | ( | const String & | msg, |
bool | silent = true |
||
) |
Exception ctor, prefixes the string "Fits Error: wrong extension type" before the specific message.
msg | A specific diagnostic message |
silent | if true, print message whether FITS::verboseMode is set or not. |