File: classmysqlpp_1_1Exception.html

package info (click to toggle)
mysql%2B%2B 3.2.2%2Bpristine-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 15,724 kB
  • ctags: 10,567
  • sloc: cpp: 35,668; sh: 3,683; makefile: 846; perl: 786
file content (108 lines) | stat: -rwxr-xr-x 11,072 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
105
106
107
108
<!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">
</head>
<body>
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;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>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>mysqlpp</b></li><li class="navelem"><a class="el" href="classmysqlpp_1_1Exception.html">Exception</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classmysqlpp_1_1Exception-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">mysqlpp::Exception Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for all MySQL++ custom exceptions.  
 <a href="classmysqlpp_1_1Exception.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="exceptions_8h_source.html">exceptions.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for mysqlpp::Exception:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1Exception__inherit__graph.png" border="0" usemap="#mysqlpp_1_1Exception_inherit__map" alt="Inheritance graph"/></div>
<map name="mysqlpp_1_1Exception_inherit__map" id="mysqlpp_1_1Exception_inherit__map">
<area shape="rect" id="node3" href="classmysqlpp_1_1BadConversion.html" title="Exception thrown when a bad type conversion is attempted. " alt="" coords="357,5,525,32"/><area shape="rect" id="node4" href="classmysqlpp_1_1BadFieldName.html" title="Exception thrown when a requested named field doesn&#39;t exist. " alt="" coords="359,56,524,83"/><area shape="rect" id="node5" href="classmysqlpp_1_1BadIndex.html" title="Exception thrown when an object with operator [] or an at() method gets called with a bad index..." alt="" coords="374,107,509,133"/><area shape="rect" id="node6" href="classmysqlpp_1_1BadInsertPolicy.html" title="Exception thrown when an insert policy is too strict to create a valid INSERT statement. " alt="" coords="356,157,527,184"/><area shape="rect" id="node7" href="classmysqlpp_1_1BadOption.html" title="Exception thrown when you pass an unrecognized option to Connection::set_option(). " alt="" coords="371,208,511,235"/><area shape="rect" id="node8" href="classmysqlpp_1_1BadParamCount.html" title="Exception thrown when not enough query parameters are provided. " alt="" coords="354,259,529,285"/><area shape="rect" id="node9" href="classmysqlpp_1_1BadQuery.html" title="Exception thrown when the database server encounters a problem while processing your query..." alt="" coords="373,309,510,336"/><area shape="rect" id="node10" href="classmysqlpp_1_1ConnectionFailed.html" title="Exception thrown when there is a problem related to the database server connection. " alt="" coords="351,360,531,387"/><area shape="rect" id="node11" href="classmysqlpp_1_1DBSelectionFailed.html" title="Exception thrown when the program tries to select a new database and the database server refuses for ..." alt="" coords="348,411,535,437"/><area shape="rect" id="node12" href="classmysqlpp_1_1MutexFailed.html" title="Exception thrown when a BeecryptMutex object fails. " alt="" coords="366,461,517,488"/><area shape="rect" id="node13" href="classmysqlpp_1_1ObjectNotInitialized.html" title="Exception thrown when you try to use an object that isn&#39;t completely initialized. ..." alt="" coords="345,512,538,539"/><area shape="rect" id="node14" href="classmysqlpp_1_1SelfTestFailed.html" title="Used within MySQL++&#39;s test harness only. " alt="" coords="360,563,523,589"/><area shape="rect" id="node15" href="classmysqlpp_1_1TypeLookupFailed.html" title="Thrown from the C++ to SQL data type conversion routine when it can&#39;t figure out how to map the type..." alt="" coords="349,613,534,640"/><area shape="rect" id="node16" href="classmysqlpp_1_1UseQueryError.html" title="Exception thrown when something goes wrong in processing a &quot;use&quot; query. " alt="" coords="358,664,525,691"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mysqlpp::Exception:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1Exception__coll__graph.png" border="0" usemap="#mysqlpp_1_1Exception_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4f630373546f0048348d89a7e83c1c77"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4f630373546f0048348d89a7e83c1c77"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#a4f630373546f0048348d89a7e83c1c77">Exception</a> (const <a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> &amp;e)  throw ()</td></tr>
<tr class="memdesc:a4f630373546f0048348d89a7e83c1c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create exception object as copy of another. <br/></td></tr>
<tr class="separator:a4f630373546f0048348d89a7e83c1c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2103d37da48b9824fa4407863aef9e0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2103d37da48b9824fa4407863aef9e0e"></a>
<a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#a2103d37da48b9824fa4407863aef9e0e">operator=</a> (const <a class="el" href="classmysqlpp_1_1Exception.html">Exception</a> &amp;rhs)  throw ()</td></tr>
<tr class="memdesc:a2103d37da48b9824fa4407863aef9e0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign another exception object's contents to this one. <br/></td></tr>
<tr class="separator:a2103d37da48b9824fa4407863aef9e0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82b1a9a71b10a4b83cd67905689d700d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a82b1a9a71b10a4b83cd67905689d700d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#a82b1a9a71b10a4b83cd67905689d700d">~Exception</a> ()  throw ()</td></tr>
<tr class="memdesc:a82b1a9a71b10a4b83cd67905689d700d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy exception object. <br/></td></tr>
<tr class="separator:a82b1a9a71b10a4b83cd67905689d700d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a970fe1876f16ea720382dff87f80cf17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a970fe1876f16ea720382dff87f80cf17"></a>
virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#a970fe1876f16ea720382dff87f80cf17">what</a> () const   throw ()</td></tr>
<tr class="memdesc:a970fe1876f16ea720382dff87f80cf17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns explanation of why exception was thrown. <br/></td></tr>
<tr class="separator:a970fe1876f16ea720382dff87f80cf17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ad9410f221db3876329a168d6c6a0864f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9410f221db3876329a168d6c6a0864f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#ad9410f221db3876329a168d6c6a0864f">Exception</a> (const char *w=&quot;&quot;)  throw ()</td></tr>
<tr class="memdesc:ad9410f221db3876329a168d6c6a0864f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create exception object. <br/></td></tr>
<tr class="separator:ad9410f221db3876329a168d6c6a0864f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6bce06d1c5f5a8ace87764ea118e25d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6bce06d1c5f5a8ace87764ea118e25d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#ab6bce06d1c5f5a8ace87764ea118e25d">Exception</a> (const std::string &amp;w)  throw ()</td></tr>
<tr class="memdesc:ab6bce06d1c5f5a8ace87764ea118e25d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create exception object. <br/></td></tr>
<tr class="separator:ab6bce06d1c5f5a8ace87764ea118e25d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a9d1f31934daa02fdbedfe419be524191"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d1f31934daa02fdbedfe419be524191"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1Exception.html#a9d1f31934daa02fdbedfe419be524191">what_</a></td></tr>
<tr class="memdesc:a9d1f31934daa02fdbedfe419be524191"><td class="mdescLeft">&#160;</td><td class="mdescRight">explanation of why exception was thrown <br/></td></tr>
<tr class="separator:a9d1f31934daa02fdbedfe419be524191"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for all MySQL++ custom exceptions. </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="exceptions_8h_source.html">exceptions.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 18 2015 18:55:03 for MySQL++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>