diff options
Diffstat (limited to 'docs/doxygen/nel/a02482.html')
-rw-r--r-- | docs/doxygen/nel/a02482.html | 287 |
1 files changed, 287 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02482.html b/docs/doxygen/nel/a02482.html new file mode 100644 index 00000000..6d14cbed --- /dev/null +++ b/docs/doxygen/nel/a02482.html @@ -0,0 +1,287 @@ +<!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>NeL: NLMISC::Exception class Reference</title> +<link href="doxygen.css" rel="stylesheet" type="text/css"> +</head><body> +<!-- Generated by Doxygen 1.3.6 --> +<div class="qindex"> <form class="search" action="search.php" method="get"> +<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::Exception Class Reference</h1><code>#include <<a class="el" href="a05587.html">common.h</a>></code> +<p> +<p>Inheritance diagram for NLMISC::Exception: +<p><center><img src="a02482.png" usemap="#NLMISC::Exception_map" border="0" alt=""></center> +<map name="NLMISC::Exception_map"> +<area href="a03773.html" alt="NL3D::EBadBind" shape="rect" coords="220,56,430,80"> +<area href="a03775.html" alt="NL3D::EBadDisplay" shape="rect" coords="220,112,430,136"> +<area href="a03782.html" alt="NL3D::EDru" shape="rect" coords="220,168,430,192"> +<area href="a03853.html" alt="NLAIE::IException" shape="rect" coords="220,224,430,248"> +<area href="a03772.html" alt="NLMISC::EAllocationFailure" shape="rect" coords="220,280,430,304"> +<area href="a03779.html" alt="NLMISC::EConfigFile" shape="rect" coords="220,336,430,360"> +<area href="a03789.html" alt="NLMISC::EFatalError" shape="rect" coords="220,392,430,416"> +<area href="a03793.html" alt="NLMISC::EInputDevice" shape="rect" coords="220,448,430,472"> +<area href="a03800.html" alt="NLMISC::EPathNotFound" shape="rect" coords="220,504,430,528"> +<area href="a03802.html" alt="NLMISC::EReallocationFailed" shape="rect" coords="220,560,430,584"> +<area href="a03804.html" alt="NLMISC::ERegistry" shape="rect" coords="220,616,430,640"> +<area href="a03781.html" alt="NLMISC::EStream" shape="rect" coords="220,672,430,696"> +<area href="a03825.html" alt="NLMISC::EThread" shape="rect" coords="220,728,430,752"> +<area href="a03826.html" alt="NLMISC::ETrapDebug" shape="rect" coords="220,784,430,808"> +<area href="a03810.html" alt="NLNET::ESocket" shape="rect" coords="220,840,430,864"> +<area href="a03778.html" alt="NLPACS::EChainQuad" shape="rect" coords="220,896,430,920"> +<area href="a03788.html" alt="NLPACS::EEdgeQuad" shape="rect" coords="220,952,430,976"> +<area href="a03806.html" alt="NLSOUND::ESampleBankNotFound" shape="rect" coords="220,1008,430,1032"> +<area href="a03813.html" alt="NLSOUND::ESoundBankNotFound" shape="rect" coords="220,1064,430,1088"> +<area href="a03814.html" alt="NLSOUND::ESoundDriver" shape="rect" coords="220,1120,430,1144"> +<area href="a03823.html" alt="NLSOUND::ESoundFileNotFound" shape="rect" coords="220,1176,430,1200"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Base class for all NeL exception. It enables to construct simple string at the ctor. +<p> + +<p> +Definition at line <a class="el" href="a05587.html#l00241">241</a> of file <a class="el" href="a05587.html">common.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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLMISC_1_1Exceptiona0">Exception</a> (const char *<a class="el" href="a04223.html#a641">format</a>,...)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLMISC_1_1Exceptiona1">Exception</a> (const std::string &reason)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLMISC_1_1Exceptiona2">Exception</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLAIE_1_1IExceptiona4">what</a> () const throw ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLMISC_1_1Exceptiona4">~Exception</a> () throw ()</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLMISC_1_1Exceptiona2" doxytag="NLMISC::Exception::Exception" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::Exception::Exception </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05586.html#l00656">656</a> of file <a class="el" href="a05586.html">common.cpp</a>. +<p> +<div class="fragment"><pre>00656 : <a class="code" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a>(<span class="stringliteral">"Unknown Exception"</span>) +00657 { +00658 <span class="comment">// nlinfo("Exception will be launched: %s", _Reason.c_str());</span> +00659 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1Exceptiona1" doxytag="NLMISC::Exception::Exception" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::Exception::Exception </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>reason</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05586.html#l00661">661</a> of file <a class="el" href="a05586.html">common.cpp</a>. +<p> +References <a class="el" href="a05587.html#l00244">_Reason</a>, and <a class="el" href="a05622.html#l00111">nlinfo</a>. +<p> +<div class="fragment"><pre>00661 : <a class="code" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a>(reason) +00662 { +00663 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"Exception will be launched: %s"</span>, <a class="code" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a>.c_str()); +00664 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1Exceptiona0" doxytag="NLMISC::Exception::Exception" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLMISC::Exception::Exception </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>format</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>... </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05586.html#l00666">666</a> of file <a class="el" href="a05586.html">common.cpp</a>. +<p> +References <a class="el" href="a05587.html#l00244">_Reason</a>, <a class="el" href="a05646.html#l01016">format</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, and <a class="el" href="a06465.html#l00070">NLMISC_CONVERT_VARGS</a>. +<p> +<div class="fragment"><pre>00667 { +00668 <a class="code" href="a05042.html#a0">NLMISC_CONVERT_VARGS</a> (_Reason, format, NLMISC::MaxCStringSize); +00669 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"Exception will be launched: %s"</span>, <a class="code" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a>.c_str()); +00670 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1Exceptiona4" doxytag="NLMISC::Exception::~Exception" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual NLMISC::Exception::~<a class="el" href="a02482.html">Exception</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw ()<code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05587.html#l00249">249</a> of file <a class="el" href="a05587.html">common.h</a>. +<p> +<div class="fragment"><pre>00249 {}; +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAIE_1_1IExceptiona4" doxytag="NLMISC::Exception::what" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NLMISC::Exception::what </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const throw ()<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented in <a class="el" href="a03773.html#NL3D_1_1EBadBinda1">NL3D::EBadBind</a>. +<p> +Definition at line <a class="el" href="a05586.html#l00672">672</a> of file <a class="el" href="a05586.html">common.cpp</a>. +<p> +<div class="fragment"><pre>00673 { +00674 <span class="keywordflow">return</span> <a class="code" href="a02482.html#NLAIE_1_1IExceptionp0">_Reason</a>.c_str(); +00675 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAIE_1_1IExceptionp0" doxytag="NLMISC::Exception::_Reason" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::string <a class="el" href="a02482.html#NLAIE_1_1IExceptionp0">NLMISC::Exception::_Reason</a><code> [protected]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05587.html#l00244">244</a> of file <a class="el" href="a05587.html">common.h</a>. +<p> +Referenced by <a class="el" href="a05586.html#l00661">Exception()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05587.html">common.h</a><li><a class="el" href="a05586.html">common.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:45:05 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |