<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MPQC: sc::SCException 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.5.9 --> <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 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="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>sc</b>::<a class="el" href="classsc_1_1SCException.html">SCException</a> </div> </div> <div class="contents"> <h1>sc::SCException Class Reference</h1><!-- doxytag: class="sc::SCException" -->This is a std::exception specialization that records information about where an exception took place. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="scexception_8h_source.html">scexception.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::SCException:</div> <div class="dynsection"> <p><center><img src="classsc_1_1SCException.png" usemap="#sc::SCException_map" border="0" alt=""></center> <map name="sc::SCException_map"> <area href="classsc_1_1AlgorithmException.html" alt="sc::AlgorithmException" shape="rect" coords="86,56,249,80"> <area href="classsc_1_1InputError.html" alt="sc::InputError" shape="rect" coords="259,56,422,80"> <area href="classsc_1_1LimitExceeded.html" alt="sc::LimitExceeded< T >" shape="rect" coords="432,56,595,80"> <area href="classsc_1_1ProgrammingError.html" alt="sc::ProgrammingError" shape="rect" coords="605,56,768,80"> <area href="classsc_1_1SystemException.html" alt="sc::SystemException" shape="rect" coords="951,56,1114,80"> <area href="classsc_1_1MaxIterExceeded.html" alt="sc::MaxIterExceeded" shape="rect" coords="0,112,163,136"> <area href="classsc_1_1ToleranceExceeded.html" alt="sc::ToleranceExceeded" shape="rect" coords="173,112,336,136"> <area href="classsc_1_1FeatureNotImplemented.html" alt="sc::FeatureNotImplemented" shape="rect" coords="605,112,768,136"> <area href="classsc_1_1FileOperationFailed.html" alt="sc::FileOperationFailed" shape="rect" coords="778,112,941,136"> <area href="classsc_1_1MemAllocFailed.html" alt="sc::MemAllocFailed" shape="rect" coords="951,112,1114,136"> <area href="classsc_1_1SyscallFailed.html" alt="sc::SyscallFailed" shape="rect" coords="1124,112,1287,136"> </map> </div> <p> <a href="classsc_1_1SCException-members.html">List of all members.</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"><a class="anchor" name="8597c9530f8c34bb4ade5c25fddd9990"></a><!-- doxytag: member="sc::SCException::SCException" ref="8597c9530f8c34bb4ade5c25fddd9990" args="(const char *description=0, const char *file=0, int line=0, const ClassDesc *class_desc=0, const char *exception_type="SCException")" --> </td><td class="memItemRight" valign="bottom"><b>SCException</b> (const char *description=0, const char *file=0, int line=0, const <a class="el" href="classsc_1_1ClassDesc.html">ClassDesc</a> *class_desc=0, const char *exception_type="SCException") throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="243c4718db0880d39d0757fdddf52a14"></a><!-- doxytag: member="sc::SCException::SCException" ref="243c4718db0880d39d0757fdddf52a14" args="(const SCException &)" --> </td><td class="memItemRight" valign="bottom"><b>SCException</b> (const <a class="el" href="classsc_1_1SCException.html">SCException</a> &) throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1SCException.html#f8bcd9bda636df1e3f8399f3a56216b9">what</a> () const throw ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplementation of std::exception::what(). <a href="#f8bcd9bda636df1e3f8399f3a56216b9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="794ba5f7e2377a3ed15cdf7d5b5fc43c"></a><!-- doxytag: member="sc::SCException::description" ref="794ba5f7e2377a3ed15cdf7d5b5fc43c" args="() const " --> const char * </td><td class="memItemRight" valign="bottom"><b>description</b> () const throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3818450cfb77fbbe9bda7e6b6a5d38fa"></a><!-- doxytag: member="sc::SCException::file" ref="3818450cfb77fbbe9bda7e6b6a5d38fa" args="() const " --> const char * </td><td class="memItemRight" valign="bottom"><b>file</b> () const throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf34e671bf9906245c6f71524d4cb48b"></a><!-- doxytag: member="sc::SCException::line" ref="bf34e671bf9906245c6f71524d4cb48b" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>line</b> () const throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9f4c4b17ceac2023ec59099dd3ba5e1e"></a><!-- doxytag: member="sc::SCException::class_desc" ref="9f4c4b17ceac2023ec59099dd3ba5e1e" args="() const " --> const <a class="el" href="classsc_1_1ClassDesc.html">ClassDesc</a> * </td><td class="memItemRight" valign="bottom"><b>class_desc</b> () const throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d6e8b9913818d37c95a16c85f02caa60"></a><!-- doxytag: member="sc::SCException::exception_type" ref="d6e8b9913818d37c95a16c85f02caa60" args="() const " --> const char * </td><td class="memItemRight" valign="bottom"><b>exception_type</b> () const throw ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1SCException.html#4cba9a44b3868dc599dfa43813567ae9">elaborate</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a stream where addition information about the exception can be written. <a href="#4cba9a44b3868dc599dfa43813567ae9"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This is a std::exception specialization that records information about where an exception took place. <hr><h2>Member Function Documentation</h2> <a class="anchor" name="4cba9a44b3868dc599dfa43813567ae9"></a><!-- doxytag: member="sc::SCException::elaborate" ref="4cba9a44b3868dc599dfa43813567ae9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::ostream& sc::SCException::elaborate </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Returns a stream where addition information about the exception can be written. <p> This will throw if a valid stream cannot be returned (possibly due to low memory). </div> </div><p> <a class="anchor" name="f8bcd9bda636df1e3f8399f3a56216b9"></a><!-- doxytag: member="sc::SCException::what" ref="f8bcd9bda636df1e3f8399f3a56216b9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* sc::SCException::what </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const throw ()</td> </tr> </table> </div> <div class="memdoc"> <p> Reimplementation of std::exception::what(). <p> The returned std::string is only valid for the lifetime of this object. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="scexception_8h_source.html">scexception.h</a></ul> </div> <hr> <address> <small> Generated at Wed Oct 14 14:12:16 2009 for <a href="http://www.mpqc.org">MPQC</a> 2.3.1 using the documentation package <a href="http://www.doxygen.org">Doxygen</a> 1.5.9. </small> </address> </body> </html>