<!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>CVC3: CVC3::Exception 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.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 <span id="projectnumber">2.4.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <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 id="navrow2" class="tabs2"> <ul class="tablist"> <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 id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceCVC3.html">CVC3</a> </li> <li class="navelem"><a class="el" href="classCVC3_1_1Exception.html">Exception</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">CVC3::Exception Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="CVC3::Exception" --> <p><code>#include <<a class="el" href="exception_8h_source.html">exception.h</a>></code></p> <div class="dynheader"> Inheritance diagram for CVC3::Exception:</div> <div class="dyncontent"> <div class="center"> <img src="classCVC3_1_1Exception.png" usemap="#CVC3::Exception_map" alt=""/> <map id="CVC3::Exception_map" name="CVC3::Exception_map"> <area href="classCVC3_1_1ArithException.html" alt="CVC3::ArithException" shape="rect" coords="179,56,348,80"/> <area href="classCVC3_1_1BitvectorException.html" alt="CVC3::BitvectorException" shape="rect" coords="179,112,348,136"/> <area href="classCVC3_1_1CLException.html" alt="CVC3::CLException" shape="rect" coords="179,168,348,192"/> <area href="classCVC3_1_1DebugException.html" alt="CVC3::DebugException" shape="rect" coords="179,224,348,248"/> <area href="classCVC3_1_1EvalException.html" alt="CVC3::EvalException" shape="rect" coords="179,280,348,304"/> <area href="classCVC3_1_1ParserException.html" alt="CVC3::ParserException" shape="rect" coords="179,336,348,360"/> <area href="classCVC3_1_1ResetException.html" alt="CVC3::ResetException" shape="rect" coords="179,392,348,416"/> <area href="classCVC3_1_1SmtlibException.html" alt="CVC3::SmtlibException" shape="rect" coords="179,448,348,472"/> <area href="classCVC3_1_1SoundException.html" alt="CVC3::SoundException" shape="rect" coords="179,504,348,528"/> <area href="classCVC3_1_1TypecheckException.html" alt="CVC3::TypecheckException" shape="rect" coords="179,560,348,584"/> </map> </div></div> <p><a href="classCVC3_1_1Exception-members.html">List of all members.</a></p> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="el" href="classCVC3_1_1Exception.html#abc21464834c8a8d18063b7a3685f773c">Exception</a> () <li><a class="el" href="classCVC3_1_1Exception.html#aef5837709932c85ebf1ba12f9c7199a4">Exception</a> (const std::string &msg) <li><a class="el" href="classCVC3_1_1Exception.html#a0e9a2298ddb0fad47978db6afc20bc39">Exception</a> (const char *msg) <li>virtual <a class="el" href="classCVC3_1_1Exception.html#a89e771d00260a52ee47aba0a956cbed4">~Exception</a> () <li>void <a class="el" href="classCVC3_1_1Exception.html#a972edd1235fdc8cc9cc421e15c72b0d3">setMessage</a> (const std::string &msg) <li>virtual std::string <a class="el" href="classCVC3_1_1Exception.html#a1c8a5ddbb45b98059454efc839394f96">toString</a> () const </ul> <h2><a name="pro-attribs"></a> Protected Attributes</h2> <ul> <li>std::string <a class="el" href="classCVC3_1_1Exception.html#ae4c896c4f9db2cded61761aace45b397">d_msg</a> </ul> <h2><a name="friends"></a> Friends</h2> <ul> <li>std::ostream & <a class="el" href="classCVC3_1_1Exception.html#a71385e852018ec00029282d01881c4eb">operator<<</a> (std::ostream &os, const <a class="el" href="classCVC3_1_1Exception.html">Exception</a> &e) </ul> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00031">31</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="abc21464834c8a8d18063b7a3685f773c"></a><!-- doxytag: member="CVC3::Exception::Exception" ref="abc21464834c8a8d18063b7a3685f773c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CVC3::Exception::Exception </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00036">36</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="aef5837709932c85ebf1ba12f9c7199a4"></a><!-- doxytag: member="CVC3::Exception::Exception" ref="aef5837709932c85ebf1ba12f9c7199a4" args="(const std::string &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CVC3::Exception::Exception </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00037">37</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="a0e9a2298ddb0fad47978db6afc20bc39"></a><!-- doxytag: member="CVC3::Exception::Exception" ref="a0e9a2298ddb0fad47978db6afc20bc39" args="(const char *msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CVC3::Exception::Exception </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00038">38</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <a class="anchor" id="a89e771d00260a52ee47aba0a956cbed4"></a><!-- doxytag: member="CVC3::Exception::~Exception" ref="a89e771d00260a52ee47aba0a956cbed4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual CVC3::Exception::~Exception </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00040">40</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a972edd1235fdc8cc9cc421e15c72b0d3"></a><!-- doxytag: member="CVC3::Exception::setMessage" ref="a972edd1235fdc8cc9cc421e15c72b0d3" args="(const std::string &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CVC3::Exception::setMessage </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00042">42</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> <p>References <a class="el" href="exception_8h_source.html#l00033">d_msg</a>.</p> </div> </div> <a class="anchor" id="a1c8a5ddbb45b98059454efc839394f96"></a><!-- doxytag: member="CVC3::Exception::toString" ref="a1c8a5ddbb45b98059454efc839394f96" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual std::string CVC3::Exception::toString </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented in <a class="el" href="classCVC3_1_1CLException.html#afa54c60adf01bc351b5dde81844e1462">CVC3::CLException</a>, <a class="el" href="classCVC3_1_1EvalException.html#ae002ed4fdd4ea9906601e4629abb9b21">CVC3::EvalException</a>, <a class="el" href="classCVC3_1_1ParserException.html#a64855db2217fc0ed9f7af42efcce75a5">CVC3::ParserException</a>, <a class="el" href="classCVC3_1_1SmtlibException.html#afdab14690d4beec529388d75b3074f33">CVC3::SmtlibException</a>, <a class="el" href="classCVC3_1_1SoundException.html#a40ac988cf3a1b9f3109d1d50f41d9e3d">CVC3::SoundException</a>, <a class="el" href="classCVC3_1_1TypecheckException.html#a45932de7e7bd1c976e9a6f3cc907baba">CVC3::TypecheckException</a>, <a class="el" href="classCVC3_1_1ArithException.html#a12785b3818ef40295e12065f89d2c682">CVC3::ArithException</a>, and <a class="el" href="classCVC3_1_1BitvectorException.html#a0d9e2cb17a2a5c94e6b57b2f9a4ab891">CVC3::BitvectorException</a>.</p> <p>Definition at line <a class="el" href="exception_8h_source.html#l00046">46</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> <p>References <a class="el" href="exception_8h_source.html#l00033">d_msg</a>.</p> <p>Referenced by <a class="el" href="vc__cmd_8cpp_source.html#l00267">CVC3::VCCmd::evaluateCommand()</a>, and <a class="el" href="exception_8h_source.html#l00052">CVC3::operator<<()</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a71385e852018ec00029282d01881c4eb"></a><!-- doxytag: member="CVC3::Exception::operator<<" ref="a71385e852018ec00029282d01881c4eb" args="(std::ostream &os, const Exception &e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::ostream& operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"><em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Exception.html">Exception</a> & </td> <td class="paramname"><em>e</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00052">52</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="ae4c896c4f9db2cded61761aace45b397"></a><!-- doxytag: member="CVC3::Exception::d_msg" ref="ae4c896c4f9db2cded61761aace45b397" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string <a class="el" href="classCVC3_1_1Exception.html#ae4c896c4f9db2cded61761aace45b397">CVC3::Exception::d_msg</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="exception_8h_source.html#l00033">33</a> of file <a class="el" href="exception_8h_source.html">exception.h</a>.</p> <p>Referenced by <a class="el" href="exception_8h_source.html#l00042">setMessage()</a>, <a class="el" href="typecheck__exception_8h_source.html#l00039">CVC3::TypecheckException::toString()</a>, <a class="el" href="sound__exception_8h_source.html#l00039">CVC3::SoundException::toString()</a>, <a class="el" href="smtlib__exception_8h_source.html#l00039">CVC3::SmtlibException::toString()</a>, <a class="el" href="parser__exception_8h_source.html#l00039">CVC3::ParserException::toString()</a>, <a class="el" href="exception_8h_source.html#l00046">toString()</a>, <a class="el" href="eval__exception_8h_source.html#l00039">CVC3::EvalException::toString()</a>, <a class="el" href="command__line__exception_8h_source.html#l00038">CVC3::CLException::toString()</a>, <a class="el" href="bitvector__exception_8h_source.html#l00041">CVC3::BitvectorException::toString()</a>, and <a class="el" href="arith__exception_8h_source.html#l00041">CVC3::ArithException::toString()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="exception_8h_source.html">exception.h</a></li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>