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

Exception thrown if user enters a non-positive number for the number of rows to write. More...

#include <Column.h>

Inheritance diagram for CCfits::Column::InvalidNumberOfRows:
CCfits::FitsException

Public Member Functions

 InvalidNumberOfRows (int number, bool silent=true)
 Exception ctor, prefixes the string "Fits Error: number of rows to write must be positive " 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 user enters a non-positive number for the number of rows to write.

Constructor & Destructor Documentation

◆ InvalidNumberOfRows()

CCfits::Column::InvalidNumberOfRows::InvalidNumberOfRows ( int  number,
bool  silent = true 
)

Exception ctor, prefixes the string "Fits Error: number of rows to write must be positive " before the specific message.

Parameters
numberThe number of rows entered.
silentif true, print message whether FITS::verboseMode is set or not.

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