CCfits  2.7
Public Member Functions
CCfits::Column::InsufficientElements Class Reference

Exception thrown if the data supplied for a write operation is less than declared. More...

#include <Column.h>

Inheritance diagram for CCfits::Column::InsufficientElements:
Inheritance diagram CCfits::FitsException

List of all members.

Public Member Functions

 InsufficientElements (const String &msg, bool silent=true)
 Exception ctor, prefixes the string "FitsError: not enough elements supplied for write operation: " before the specific message.

Detailed Description

Exception thrown if the data supplied for a write operation is less than declared.

This circumstance generates an exception to avoid unexpected behaviour after the write operation is completed. It can be avoided by resizing the input array appropriately.


Constructor & Destructor Documentation

CCfits::Column::InsufficientElements::InsufficientElements ( const String &  msg,
bool  silent = true 
)

Exception ctor, prefixes the string "FitsError: not enough elements supplied for write operation: " before the specific message.

Parameters:
msgA 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: