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
|
<!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 Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</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="nav">
<b>mysqlpp</b>::<a class="el" href="classmysqlpp_1_1BadOption.html">BadOption</a></div>
<h1>mysqlpp::BadOption Class Reference</h1><!-- doxytag: class="mysqlpp::BadOption" --><!-- doxytag: inherits="mysqlpp::Exception" --><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="#_details">More...</a>
<p>
<code>#include <<a class="el" href="exceptions_8h-source.html">exceptions.h</a>></code>
<p>
Inheritance diagram for mysqlpp::BadOption:<p><center><img src="classmysqlpp_1_1BadOption__inherit__graph.png" border="0" usemap="#mysqlpp_1_1BadOption__inherit__map" alt="Inheritance graph"></center>
<map name="mysqlpp_1_1BadOption__inherit__map">
<area href="classmysqlpp_1_1Exception.html" shape="rect" coords="7,7,159,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for mysqlpp::BadOption:<p><center><img src="classmysqlpp_1_1BadOption__coll__graph.png" border="0" usemap="#mysqlpp_1_1BadOption__coll__map" alt="Collaboration graph"></center>
<map name="mysqlpp_1_1BadOption__coll__map">
<area href="classmysqlpp_1_1Exception.html" shape="rect" coords="7,97,159,121" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classmysqlpp_1_1BadOption-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"><a class="anchor" name="f075d3f4704c79bc7d6407abebfed6ff"></a><!-- doxytag: member="mysqlpp::BadOption::BadOption" ref="f075d3f4704c79bc7d6407abebfed6ff" args="(const char *w, const std::type_info &ti)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadOption.html#f075d3f4704c79bc7d6407abebfed6ff">BadOption</a> (const char *w, const std::type_info &ti)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create exception object, taking C string. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3bee408533d419841996176c169ecd30"></a><!-- doxytag: member="mysqlpp::BadOption::BadOption" ref="3bee408533d419841996176c169ecd30" args="(const std::string &w, const std::type_info &ti)" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadOption.html#3bee408533d419841996176c169ecd30">BadOption</a> (const std::string &w, const std::type_info &ti)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create exception object, taking C++ string. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const std::type_info & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1BadOption.html#723772b7f84c2bfccb38de64107b9a5d">what_option</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return type information about the option that failed. <a href="#723772b7f84c2bfccb38de64107b9a5d"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<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>.
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="723772b7f84c2bfccb38de64107b9a5d"></a><!-- doxytag: member="mysqlpp::BadOption::what_option" ref="723772b7f84c2bfccb38de64107b9a5d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const std::type_info& mysqlpp::BadOption::what_option </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Return type information about the option that failed.
<p>
Because each option has its own C++ type, this lets you distinguish among <a class="el" href="classmysqlpp_1_1BadOption.html">BadOption</a> exceptions programmatically.
</div>
</div><p>
<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></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Feb 4 14:43:06 2009 for MySQL++ by
<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>
|