<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>CCfits: CCfits::FitsException Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><b>CCfits</b>::<a class="el" href="classCCfits_1_1FitsException.html">FitsException</a> </div> </div> <div class="contents"> <h1>CCfits::FitsException Class Reference<br/> <small> [<a class="el" href="group__FITSexcept.html">FITS Exceptions</a>]</small> </h1><!-- doxytag: class="CCfits::FitsException" --> <p><a class="el" href="classCCfits_1_1FitsException.html" title="FitsException is the base class for all exceptions thrown by this library.">FitsException</a> is the base class for all exceptions thrown by this library. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="FitsError_8h_source.html">FitsError.h</a>></code></p> <div class="dynheader"> Inheritance diagram for CCfits::FitsException:</div> <div class="dynsection"> <div class="center"> <img src="classCCfits_1_1FitsException.gif" alt="Inheritance diagram" usemap="#CCfits::FitsException_map" alt=""/> <map id="CCfits::FitsException_map" name="CCfits::FitsException_map"> <area href="classCCfits_1_1Column_1_1InsufficientElements.html" alt="CCfits::Column::InsufficientElements" shape="rect" coords="235,56,460,80"/> <area href="classCCfits_1_1Column_1_1InvalidDataType.html" alt="CCfits::Column::InvalidDataType" shape="rect" coords="235,112,460,136"/> <area href="classCCfits_1_1Column_1_1InvalidNumberOfRows.html" alt="CCfits::Column::InvalidNumberOfRows" shape="rect" coords="235,168,460,192"/> <area href="classCCfits_1_1Column_1_1InvalidRowNumber.html" alt="CCfits::Column::InvalidRowNumber" shape="rect" coords="235,224,460,248"/> <area href="classCCfits_1_1Column_1_1InvalidRowParameter.html" alt="CCfits::Column::InvalidRowParameter" shape="rect" coords="235,280,460,304"/> <area href="classCCfits_1_1Column_1_1NoNullValue.html" alt="CCfits::Column::NoNullValue" shape="rect" coords="235,336,460,360"/> <area href="classCCfits_1_1Column_1_1RangeError.html" alt="CCfits::Column::RangeError" shape="rect" coords="235,392,460,416"/> <area href="classCCfits_1_1Column_1_1WrongColumnType.html" alt="CCfits::Column::WrongColumnType" shape="rect" coords="235,448,460,472"/> <area href="classCCfits_1_1ExtHDU_1_1WrongExtensionType.html" alt="CCfits::ExtHDU::WrongExtensionType" shape="rect" coords="235,504,460,528"/> <area href="structCCfits_1_1FITS_1_1CantCreate.html" alt="CCfits::FITS::CantCreate" shape="rect" coords="235,560,460,584"/> <area href="classCCfits_1_1FITS_1_1CantOpen.html" alt="CCfits::FITS::CantOpen" shape="rect" coords="235,616,460,640"/> <area href="classCCfits_1_1FITS_1_1NoSuchHDU.html" alt="CCfits::FITS::NoSuchHDU" shape="rect" coords="235,672,460,696"/> <area href="classCCfits_1_1FITS_1_1OperationNotSupported.html" alt="CCfits::FITS::OperationNotSupported" shape="rect" coords="235,728,460,752"/> <area href="classCCfits_1_1FitsError.html" alt="CCfits::FitsError" shape="rect" coords="235,784,460,808"/> <area href="classCCfits_1_1FITSUtil_1_1UnrecognizedType.html" alt="CCfits::FITSUtil::UnrecognizedType" shape="rect" coords="235,840,460,864"/> <area href="classCCfits_1_1HDU_1_1InvalidExtensionType.html" alt="CCfits::HDU::InvalidExtensionType" shape="rect" coords="235,896,460,920"/> <area href="classCCfits_1_1HDU_1_1InvalidImageDataType.html" alt="CCfits::HDU::InvalidImageDataType" shape="rect" coords="235,952,460,976"/> <area href="classCCfits_1_1HDU_1_1NoNullValue.html" alt="CCfits::HDU::NoNullValue" shape="rect" coords="235,1008,460,1032"/> <area href="classCCfits_1_1HDU_1_1NoSuchKeyword.html" alt="CCfits::HDU::NoSuchKeyword" shape="rect" coords="235,1064,460,1088"/> <area href="classCCfits_1_1Table_1_1NoSuchColumn.html" alt="CCfits::Table::NoSuchColumn" shape="rect" coords="235,1120,460,1144"/> </map> </div> </div> <p><a href="classCCfits_1_1FitsException-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCCfits_1_1FitsException.html#a37025adf45d65172027274ef5227cd94">FitsException</a> (const string &msg, bool &silent)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">const string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCCfits_1_1FitsException.html#ae7c4688e2a2b829abdcf969f167c8ec6">message</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">returns the error message <a href="#ae7c4688e2a2b829abdcf969f167c8ec6"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p><a class="el" href="classCCfits_1_1FitsException.html" title="FitsException is the base class for all exceptions thrown by this library.">FitsException</a> is the base class for all exceptions thrown by this library. </p> <p>All exceptions derived from this class can be caught by a single 'catch' clause catching <a class="el" href="classCCfits_1_1FitsException.html" title="FitsException is the base class for all exceptions thrown by this library.">FitsException</a> by reference (which is the point of this base class design).</p> <p>A static "verboseMode" parameter is provided by the <a class="el" href="classCCfits_1_1FITS.html" title="Memory object representation of a disk FITS file.">FITS</a> class to control diagnostics - if <a class="el" href="classCCfits_1_1FITS.html#ac897e39e93234792d519913e656be5fc" title="return verbose setting for library">FITS::verboseMode()</a> is true, all diagnostics are printed (for debugging purposes). If not, then a boolean <em>silent</em> determines printing of messages. Each exception derived from <a class="el" href="classCCfits_1_1FitsException.html" title="FitsException is the base class for all exceptions thrown by this library.">FitsException</a> must define a default value for the <em>silent</em> parameter. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a37025adf45d65172027274ef5227cd94"></a><!-- doxytag: member="CCfits::FitsException::FitsException" ref="a37025adf45d65172027274ef5227cd94" args="(const string &msg, bool &silent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CCfits::FitsException::FitsException </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>diag</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool & </td> <td class="paramname"> <em>silent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>diag</em> </td><td>A diagnostic string to be printed optionally. </td></tr> <tr><td valign="top"></td><td valign="top"><em>silent</em> </td><td>A boolean controlling the printing of messages </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ae7c4688e2a2b829abdcf969f167c8ec6"></a><!-- doxytag: member="CCfits::FitsException::message" ref="ae7c4688e2a2b829abdcf969f167c8ec6" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const string & CCfits::FitsException::message </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>returns the error message </p> <p>This returns the diagnostic error message associated with the exception object, and which is accessible regardless of the verboseMode and silent flag settings. </p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="FitsError_8h_source.html">FitsError.h</a></li> <li>FitsError.cxx</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Wed Sep 9 11:59:45 2009 for CCfits by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>