CCfits
2.6
|
Exception thrown if the data supplied for a write operation is less than declared. More...
#include <Column.h>
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. More... | |
Public Member Functions inherited from CCfits::FitsException | |
FitsException (const string &msg, bool &silent) | |
const string & | message () const |
returns the error message More... | |
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.
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.
msg | A specific diagnostic message, usually the column name |
silent | if true, print message whether FITS::verboseMode is set or not. |