<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>VisualCalc Parser: CDomainException Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.5 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li id="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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<h1>CDomainException Class Reference</h1><!-- doxytag: class="CDomainException" --><!-- doxytag: inherits="CVCalcParserException" --><code>#include <<a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a>></code>
<p>
<p>Inheritance diagram for CDomainException:
<p><center><img src="class_c_domain_exception.png" usemap="#CDomainException_map" border="0" alt=""></center>
<map name="CDomainException_map">
<area href="class_c_v_calc_parser_exception.html" alt="CVCalcParserException" shape="rect" coords="532,0,788,24">
<area href="class_c_answer_requested_not_found_exception.html" alt="CAnswerRequestedNotFoundException" shape="rect" coords="0,112,256,136">
<area href="class_c_dom_parameter_must_be_an_integer_exception.html" alt="CDomParameterMustBeAnIntegerException" shape="rect" coords="266,112,522,136">
<area href="class_c_dom_parameter_must_be_positive_exception.html" alt="CDomParameterMustBePositiveException" shape="rect" coords="532,112,788,136">
<area href="class_c_dom_parameters_must_be_integers_exception.html" alt="CDomParametersMustBeIntegersException" shape="rect" coords="798,112,1054,136">
<area href="class_c_dom_parameters_must_be_positive_exception.html" alt="CDomParametersMustBePositiveException" shape="rect" coords="1064,112,1320,136">
</map>
<a href="class_c_domain_exception-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Parent class for VisualCalc Domain Exceptions.
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_v_calc_parser_exception.html">CVCalcParserException</a> <p>
<a class="el" href="class_c_answer_requested_not_found_exception.html">CAnswerRequestedNotFoundException</a>, <a class="el" href="class_c_dom_parameter_must_be_positive_exception.html">CDomParameterMustBePositiveException</a>, <a class="el" href="class_c_dom_parameter_must_be_an_integer_exception.html">CDomParameterMustBeAnIntegerException</a>, <a class="el" href="class_c_dom_parameters_must_be_positive_exception.html">CDomParametersMustBePositiveException</a>, <a class="el" href="class_c_dom_parameters_must_be_integers_exception.html">CDomParametersMustBeIntegersException</a></dd></dl>
This class inherits from <a class="el" href="class_c_v_calc_parser_exception.html">CVCalcParserException</a> but remains abstract as it is a base class for every Domain errors.<br>
Only the derived classes can be instanciated.
<p>
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8h-source.html#l00650">650</a> of file <a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_domain_exception.html#135db1ebf87382f0db64d09fdd64fa60">~CDomainException</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor of the Domain errors category. <a href="#135db1ebf87382f0db64d09fdd64fa60"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_domain_exception.html#428f3724a0b153831754993a4aa7011a">CDomainException</a> (<a class="el" href="class_c_v_calc_parser_exception.html#f464e47c732b5e966f9814ce33ef54a2">ExceptionNumbers</a> enExceptionNumber, const std::string &strExceptionMsg, int iErrorPos)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor of the Domain errors category. <a href="#428f3724a0b153831754993a4aa7011a"></a><br></td></tr>
</table>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="428f3724a0b153831754993a4aa7011a"></a><!-- doxytag: member="CDomainException::CDomainException" ref="428f3724a0b153831754993a4aa7011a" args="(ExceptionNumbers enExceptionNumber, const std::string &strExceptionMsg, int iErrorPos)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">CDomainException::CDomainException </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="class_c_v_calc_parser_exception.html#f464e47c732b5e966f9814ce33ef54a2">ExceptionNumbers</a> </td>
<td class="mdname" nowrap> <em>enExceptionNumber</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const std::string & </td>
<td class="mdname" nowrap> <em>strExceptionMsg</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>int </td>
<td class="mdname" nowrap> <em>iErrorPos</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Constructor of the Domain errors category.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>enExceptionNumber</em> </td><td>The exception code number. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>strExceptionMsg</em> </td><td>The exception description message. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>iErrorPos</em> </td><td>The Position of the error.</td></tr>
</table>
</dl>
The constructor only get the parameters and pass them to the base class constructor through the initializer list.<br>
The constructor is set as a protected member to make the class abstract.<br>
It must not be possible to instantiate the class.
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8cpp-source.html#l00610">610</a> of file <a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a>. </td>
</tr>
</table>
<a class="anchor" name="135db1ebf87382f0db64d09fdd64fa60"></a><!-- doxytag: member="CDomainException::~CDomainException" ref="135db1ebf87382f0db64d09fdd64fa60" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">CDomainException::~CDomainException </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Destructor of the Domain errors category.
<p>
<p>
Definition at line <a class="el" href="_v_calc_parser_exception_8cpp-source.html#l00617">617</a> of file <a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_v_calc_parser_exception_8h-source.html">VCalcParserException.h</a><li><a class="el" href="_v_calc_parser_exception_8cpp-source.html">VCalcParserException.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 6 23:55:56 2006 for VisualCalc Parser by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address>
</body>
</html>