#include <FitsError.h>
Inheritance diagram for CCfits::FitsException:

Public Member Functions | |
| FitsException (const string &msg, bool &silent) | |
All exceptions derived from this class can be caught by a single 'catch' clause catching FitsException by reference (which is the point of this base class design).
A static "verboseMode" parameter is provided by the FITS class to control diagnostics - if FITS::verboseMode() is true, all diagnostics are printed (for debugging purposes). If not, then a boolean silent determines printing of messages. Each exception derived from FitsException must define a default value for the silent parameter.
| CCfits::FitsException::FitsException | ( | const string & | diag, | |
| bool & | silent | |||
| ) |
| diag | A diagnostic string to be printed optionally. | |
| silent | A boolean controlling the printing of messages |
1.4.7