⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classodbc_1_1_s_q_l_exception.html.svn-base

📁 絲路server源碼 Silk Road server source
💻 SVN-BASE
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>odbc::SQLException class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body bgcolor="#ffffff"><!-- Generated by Doxygen 1.2.13.1 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center><hr><h1>odbc::SQLException  Class Reference</h1>The exception thrown when errors occur inside the library. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="types_8h-source.html">types.h</a>&gt;</code><p><p>Inheritance diagram for odbc::SQLException::<p><center><img src="classodbc_1_1_s_q_l_exception.gif" usemap="#odbc::SQLException_map" border="0"></center><map name="odbc::SQLException_map"><area href="classodbc_1_1_s_q_l_warning.html" alt="odbc::SQLWarning" shape="rect" coords="0,56,126,80"></map><a href="classodbc_1_1_s_q_l_exception-members.html">List of all members.</a><h2>Public Methods</h2><ul><li><a name="a0" doxytag="odbc::SQLException::SQLException"></a><a class="el" href="classodbc_1_1_s_q_l_exception.html#a0">SQLException</a> (const std::string &amp;reason=ODBCXX_STRING_CONST(""), const std::string &amp;sqlState=ODBCXX_STRING_CONST(""), int vendorCode=0)<dl class="el"><dd><font size=-1><em>Constructor.<br><br></em></font></dl><li><a name="a1" doxytag="odbc::SQLException::SQLException"></a><a class="el" href="classodbc_1_1_s_q_l_exception.html#a1">SQLException</a> (const <a class="el" href="classodbc_1_1_driver_message.html">DriverMessage</a> &amp;dm)<dl class="el"><dd><font size=-1><em>Copy from a <a class="el" href="classodbc_1_1_driver_message.html">DriverMessage</a>.<br><br></em></font></dl><li><a name="a2" doxytag="odbc::SQLException::~SQLException"></a>virtual <a class="el" href="classodbc_1_1_s_q_l_exception.html#a2">~SQLException</a> ()  throw ()<dl class="el"><dd><font size=-1><em>Destructor.<br><br></em></font></dl><li><a name="a3" doxytag="odbc::SQLException::getErrorCode"></a>int <a class="el" href="classodbc_1_1_s_q_l_exception.html#a3">getErrorCode</a> () const<dl class="el"><dd><font size=-1><em>Get the vendor error code of this exception.<br><br></em></font></dl><li>const std::string &amp; <a class="el" href="classodbc_1_1_s_q_l_exception.html#a4">getSQLState</a> () const<dl class="el"><dd><font size=-1><em>Gets the SQLSTATE of this exception.</em> <a href="#a4">More...</a><em><br><br></em></font></dl><li><a name="a5" doxytag="odbc::SQLException::getMessage"></a>const std::string &amp; <a class="el" href="classodbc_1_1_s_q_l_exception.html#a5">getMessage</a> () const<dl class="el"><dd><font size=-1><em>Gets the description of this message.<br><br></em></font></dl><li><a name="a6" doxytag="odbc::SQLException::what"></a>virtual const char * <a class="el" href="classodbc_1_1_s_q_l_exception.html#a6">what</a> () const  throw ()<dl class="el"><dd><font size=-1><em>Gets the description of this message.<br><br></em></font></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>The exception thrown when errors occur inside the library.<p><hr><h2>Member Function Documentation</h2><a name="a4" doxytag="odbc::SQLException::getSQLState"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> const std::string&amp; odbc::SQLException::getSQLState </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Gets the SQLSTATE of this exception.<p>Consult your local ODBC reference for SQLSTATE values.     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li>odbc++/<a class="el" href="types_8h-source.html">types.h</a></ul><hr><div align=center><a class=footer href="http://orcane.net/freeodbc++/">Go back to the freeodbc++ homepage</a></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -