<!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>GNU CommonC++: ost::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.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</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> <li><a href="examples.html"><span>Examples</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"><a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_exception.html">Exception</a> </div> </div> <div class="contents"> <h1>ost::Exception Class Reference</h1><!-- doxytag: class="ost::Exception" --> <p>Mainline exception handler, this is the root for all Common C++ exceptions and assures the ansi C++ exception class hierarchy is both followed and imported into the gnu Common C++ class hierarchy. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="exception_8h_source.html">exception.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ost::Exception:</div> <div class="dynsection"> <div class="center"> <img src="classost_1_1_exception.png" usemap="#ost::Exception_map" alt=""/> <map id="ost::Exception_map" name="ost::Exception_map"> <area href="classost_1_1_app_log_exception.html" alt="ost::AppLogException" shape="rect" coords="0,56,136,80"/> <area href="classost_1_1_i_o_exception.html" alt="ost::IOException" shape="rect" coords="146,56,282,80"/> <area href="classost_1_1_persist_exception.html" alt="ost::PersistException" shape="rect" coords="292,56,428,80"/> <area href="classost_1_1_thr_exception.html" alt="ost::ThrException" shape="rect" coords="438,56,574,80"/> <area href="classost_1_1_dir_exception.html" alt="ost::DirException" shape="rect" coords="292,112,428,136"/> <area href="classost_1_1_d_s_o_exception.html" alt="ost::DSOException" shape="rect" coords="292,168,428,192"/> <area href="classost_1_1_file_exception.html" alt="ost::FileException" shape="rect" coords="292,224,428,248"/> <area href="classost_1_1_i_o_z_exception.html" alt="ost::IOZException" shape="rect" coords="292,280,428,304"/> <area href="classost_1_1_ser_exception.html" alt="ost::SerException" shape="rect" coords="292,336,428,360"/> <area href="classost_1_1_sock_exception.html" alt="ost::SockException" shape="rect" coords="292,392,428,416"/> <area href="classost_1_1_interrupt_exception.html" alt="ost::InterruptException" shape="rect" coords="584,112,720,136"/> <area href="classost_1_1_sync_exception.html" alt="ost::SyncException" shape="rect" coords="584,168,720,192"/> </map> </div> </div> <p><a href="classost_1_1_exception-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="classost_1_1_exception.html#ade96c51f71dadefb9c3c52ca9270693a">Exception</a> (const <a class="el" href="classost_1_1_string.html">String</a> &what_arg) throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_exception.html#a679d57f35aa0bdf6422e7ddf3960fdc7">~Exception</a> () throw ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_exception.html#aca9da57d4618545ae892503f1fc903af">getString</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_exception.html#afaabdb52a566d048e3b62c46a4133630">what</a> () const throw ()</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Mainline exception handler, this is the root for all Common C++ exceptions and assures the ansi C++ exception class hierarchy is both followed and imported into the gnu Common C++ class hierarchy. </p> <dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>> Base exception class for all Common C++ exceptions. </dd></dl> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ade96c51f71dadefb9c3c52ca9270693a"></a><!-- doxytag: member="ost::Exception::Exception" ref="ade96c51f71dadefb9c3c52ca9270693a" args="(const String &what_arg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ost::Exception::Exception </td> <td>(</td> <td class="paramtype">const <a class="el" href="classost_1_1_string.html">String</a> & </td> <td class="paramname"> <em>what_arg</em></td> <td> ) </td> <td> throw ()</td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a679d57f35aa0bdf6422e7ddf3960fdc7"></a><!-- doxytag: member="ost::Exception::~Exception" ref="a679d57f35aa0bdf6422e7ddf3960fdc7" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual ost::Exception::~Exception </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> throw ()<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aca9da57d4618545ae892503f1fc903af"></a><!-- doxytag: member="ost::Exception::getString" ref="aca9da57d4618545ae892503f1fc903af" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* ost::Exception::getString </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="tcp_8cpp-example.html#a12">tcp.cpp</a>.</dd> </dl> </div> </div> <a class="anchor" id="afaabdb52a566d048e3b62c46a4133630"></a><!-- doxytag: member="ost::Exception::what" ref="afaabdb52a566d048e3b62c46a4133630" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* ost::Exception::what </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td> const throw ()<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </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 style="text-align: right;"><small>Generated on Fri Nov 12 09:55:47 2010 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>