File: exceptions_8h.html

package info (click to toggle)
mysql%2B%2B 3.0.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,328 kB
  • ctags: 9,487
  • sloc: cpp: 33,486; sh: 3,091; perl: 809; makefile: 683
file content (104 lines) | stat: -rw-r--r-- 9,649 bytes parent folder | download
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>MySQL++ Reference Manual</title>
	<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
	<link href="doxygen.css" rel="stylesheet" type="text/css">
	<link href="refman.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  </ul></div>
<h1>exceptions.h File Reference</h1>Declares the MySQL++-specific exception classes. <a href="#_details">More...</a>
<p>
<code>#include &quot;<a class="el" href="options_8h-source.html">options.h</a>&quot;</code><br>
<code>#include &lt;exception&gt;</code><br>
<code>#include &lt;string&gt;</code><br>

<p>
Include dependency graph for exceptions.h:<p><center><img src="exceptions_8h__incl.png" border="0" usemap="#exceptions.h_map" alt=""></center>
<map name="exceptions.h_map">
<area href="options_8h.html" shape="rect" coords="163,52,245,76" alt="">
<area href="common_8h.html" shape="rect" coords="297,5,388,29" alt="">
</map>

<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="exceptions_8h__dep__incl.png" border="0" usemap="#exceptions.hdep_map" alt=""></center>
<map name="exceptions.hdep_map">
<area href="beemutex_8h.html" shape="rect" coords="161,5,260,29" alt="">
<area href="null_8h.html" shape="rect" coords="333,104,392,128" alt="">
<area href="mystring_8h.html" shape="rect" coords="467,104,557,128" alt="">
<area href="type__info_8h.html" shape="rect" coords="164,177,257,201" alt="">
<area href="result_8h.html" shape="rect" coords="476,248,548,272" alt="">
<area href="cpool_8h.html" shape="rect" coords="328,5,397,29" alt="">
<area href="stadapter_8h.html" shape="rect" coords="464,152,560,176" alt="">
<area href="sql__buffer_8h.html" shape="rect" coords="315,152,411,176" alt="">
<area href="field_8h.html" shape="rect" coords="332,200,393,224" alt="">
<area href="field__types_8h.html" shape="rect" coords="311,248,415,272" alt="">
</map>

<p>
<a href="exceptions_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><b>mysqlpp</b></td></tr>

<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html">mysqlpp::Exception</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Base class for all MySQL++ custom exceptions.  <a href="classmysqlpp_1_1Exception.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadConversion.html">mysqlpp::BadConversion</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when a bad type conversion is attempted.  <a href="classmysqlpp_1_1BadConversion.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadFieldName.html">mysqlpp::BadFieldName</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when a requested named field doesn't exist.  <a href="classmysqlpp_1_1BadFieldName.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadOption.html">mysqlpp::BadOption</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when you pass an unrecognized option to <a class="el" href="classmysqlpp_1_1Connection.html#266f69b0e8d9d588e8cc6c5a2a897b87">Connection::set_option()</a>.  <a href="classmysqlpp_1_1BadOption.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadParamCount.html">mysqlpp::BadParamCount</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when not enough query parameters are provided.  <a href="classmysqlpp_1_1BadParamCount.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryError.html">mysqlpp::UseQueryError</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when something goes wrong in processing a "use" query.  <a href="classmysqlpp_1_1UseQueryError.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadQuery.html">mysqlpp::BadQuery</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when the database server encounters a problem while processing your query.  <a href="classmysqlpp_1_1BadQuery.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ConnectionFailed.html">mysqlpp::ConnectionFailed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when there is a problem related to the database server connection.  <a href="classmysqlpp_1_1ConnectionFailed.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1DBSelectionFailed.html">mysqlpp::DBSelectionFailed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when the program tries to select a new database and the database server refuses for some reason.  <a href="classmysqlpp_1_1DBSelectionFailed.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1MutexFailed.html">mysqlpp::MutexFailed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when a <a class="el" href="classmysqlpp_1_1BeecryptMutex.html">BeecryptMutex</a> object fails.  <a href="classmysqlpp_1_1MutexFailed.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ObjectNotInitialized.html">mysqlpp::ObjectNotInitialized</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> thrown when you try to use an object that isn't completely initialized.  <a href="classmysqlpp_1_1ObjectNotInitialized.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1SelfTestFailed.html">mysqlpp::SelfTestFailed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used within MySQL++'s test harness only.  <a href="classmysqlpp_1_1SelfTestFailed.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1TypeLookupFailed.html">mysqlpp::TypeLookupFailed</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Thrown from the C++ to SQL data type conversion routine when it can't figure out how to map the type.  <a href="classmysqlpp_1_1TypeLookupFailed.html#_details">More...</a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Declares the MySQL++-specific exception classes. 
<p>
When exceptions are enabled for a given <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a> derivative, any of these exceptions can be thrown on error. <hr size="1"><address style="align: right;"><small>Generated on Fri Feb 29 16:26:05 2008 for MySQL++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>