Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

CCfits::FITS::CantCreate Class Reference

thrown on failure to create new file. More...

#include <FITS.h>

Inheritance diagram for CCfits::FITS::CantCreate::

Inheritance diagram
CCfits::FitsException List of all members.

Public Methods

 CantCreate (const string &diag, bool silent=false)

Detailed Description

thrown on failure to create new file.


Constructor & Destructor Documentation

CCfits::FITS::CantCreate::CantCreate ( const string & diag,
bool silent = false )
 

Exception ctor prefixes the string: "FITS Error: Cannot create file " before specific message.

This exception will be thrown if the user attempts to write to a protected directory or attempts to create a new file with the same name as an existing file without specifying overwrite [overwrite is specified by adding the character '!' before the filename, following the cfitsio convention].

Parameters:
msg   A specific diagnostic message, the name of the file that was to be created.
silent   if true, print message whether FITS::verboseMode is set or not.


The documentation for this class was generated from the following files:
Generated at Fri Apr 11 16:05:09 2003 for CCfits by doxygen1.2.7 written by Dimitri van Heesch, © 1997-2001