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

Exception thrown on incorrect row writing request. More...

#include <Column.h>

Inheritance diagram for CCfits::Column::InvalidRowParameter:
CCfits::FitsException

Public Member Functions

 InvalidRowParameter (const String &diag, bool silent=true)
 Exception ctor, prefixes the string "FitsError: row offset or length incompatible with column declaration " 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 on incorrect row writing request.

This exception is thrown if the user requests writing more data than a fixed width row can accommodate. An exception is thrown rather than a truncation because it is likely that the user will not otherwise realize that data loss is happening.

Constructor & Destructor Documentation

◆ InvalidRowParameter()

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

Exception ctor, prefixes the string "FitsError: row offset or length incompatible with column declaration " before the specific message.

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

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