1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
<!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>Simple&nbsp;C++&nbsp;ODBC&nbsp;Database&nbsp;API: SimpleDB::Exception Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.2 -->
<div class="qindex"><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="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <a class="qindex" href="examples.html">Examples</a></div>
<div class="nav">
<a class="el" href="namespaceSimpleDB.html">SimpleDB</a>::<a class="el" href="classSimpleDB_1_1Exception.html">Exception</a></div>
<h1>SimpleDB::Exception Class Reference</h1><a class="el" href="namespaceSimpleDB.html">SimpleDB</a> <a class="el" href="classSimpleDB_1_1Exception.html">Exception</a> base class.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="Exception_8h-source.html">Exception.h</a>></code>
<p>
Inheritance diagram for SimpleDB::Exception:<p><center><img src="classSimpleDB_1_1Exception__inherit__graph.png" border="0" usemap="#SimpleDB_1_1Exception__inherit__map" alt="Inheritance graph"></center>
<map name="SimpleDB_1_1Exception__inherit__map">
<area href="classSimpleDB_1_1Column_1_1UnboundException.html" shape="rect" coords="8,84,261,108" alt="">
<area href="classSimpleDB_1_1Database_1_1Exception.html" shape="rect" coords="285,84,496,108" alt="">
<area href="classSimpleDB_1_1Query_1_1Exception.html" shape="rect" coords="520,84,712,108" alt="">
<area href="classSimpleDB_1_1Database_1_1NoDataException.html" shape="rect" coords="262,158,518,182" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classSimpleDB_1_1Exception-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDB_1_1Exception.html#a0">Exception</a> (const std::string &<a class="el" href="classSimpleDB_1_1Exception.html#o0">message</a>) throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="SimpleDB::Exception::what"></a>
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDB_1_1Exception.html#a1">what</a> () const throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Used to access the exceptions error. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDB_1_1Exception.html#a2">~Exception</a> () throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="o0" doxytag="SimpleDB::Exception::message"></a>
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleDB_1_1Exception.html#o0">message</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The exception message. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="namespaceSimpleDB.html">SimpleDB</a> <a class="el" href="classSimpleDB_1_1Exception.html">Exception</a> base class.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="SimpleDB::Exception::Exception"></a><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">SimpleDB::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>message</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap> throw ()</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Constructor.
<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>message</em> </td><td>Message passed to the string class </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="classSimpleDB_1_1Database_1_1Exception.html#a0">SimpleDB::Database::Exception</a>, and <a class="el" href="classSimpleDB_1_1Query_1_1Exception.html#a0">SimpleDB::Query::Exception</a>. </td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="SimpleDB::Exception::~Exception"></a><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">virtual SimpleDB::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> throw ()<code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Destructor.
<p>
Currently does nothing. </td>
</tr>
</table>
<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></ul>
<hr>
<div align="right"><small>
Copyright (C) 2005 <a target="top" href="http://www.eminence.com.au">Eminence Technology Pty Ltd</a>.<br>
Documentation pages generated by doxygen.</small><br>
<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=129109&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
</div>
|