CCfits  2.6
Public Member Functions | List of all members
CCfits::Column::NoNullValue Class Reference

Exception thrown if a null value is specified without support from existing column header. More...

#include <Column.h>

Inheritance diagram for CCfits::Column::NoNullValue:
Inheritance diagram CCfits::FitsException

Public Member Functions

 NoNullValue (const String &diag, bool silent=true)
 Exception ctor, prefixes the string "Fits Error: No null value specified for column: " 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 if a null value is specified without support from existing column header.

This exception is analogous to the fact that cfitsio returns a non-zero status code if TNULLn doesn't exist an a null value (convert all input data with the null value to the TNULLn keyword) is specified. It is only relevant for integer type data (see cfitsio manual for details).

Constructor & Destructor Documentation

CCfits::Column::NoNullValue::NoNullValue ( const String &  diag,
bool  silent = true 
)

Exception ctor, prefixes the string "Fits Error: No null value specified for column: " before the specific message.

Parameters
diagA specific diagnostic message
silentif true, print message whether FITS::verboseMode is set or not.

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