📄 group__g__error.html
字号:
<p>Definition at line <a class="el" href="error_8c-source.html#l00155">155</a> of file <a class="el" href="error_8c-source.html">error.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00112">OCI_Error::icode</a>.</p></div></div><p><a class="anchor" name="g76fb68323de3574fb92a8027e8c4280e"></a><!-- doxytag: member="ocilib.h::OCI_ErrorGetOCICode" ref="g76fb68323de3574fb92a8027e8c4280e" args="(OCI_Error *err)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT int OCI_API OCI_ErrorGetOCICode </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___error.html">OCI_Error</a> * </td> <td class="paramname"> <em>err</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Retrieve Oracle Error code from error handle. <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>err</em> </td><td>* error handle </td></tr> </table></dl><p>Definition at line <a class="el" href="error_8c-source.html#l00144">144</a> of file <a class="el" href="error_8c-source.html">error.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00111">OCI_Error::ocode</a>.</p></div></div><p><a class="anchor" name="gb099d59cd4faf2fa6a4430114ea73402"></a><!-- doxytag: member="ocilib.h::OCI_ErrorGetStatement" ref="gb099d59cd4faf2fa6a4430114ea73402" args="(OCI_Error *err)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___statement.html">OCI_Statement</a>* OCI_API OCI_ErrorGetStatement </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___error.html">OCI_Error</a> * </td> <td class="paramname"> <em>err</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Retrieve statement handle within the error occured. <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>err</em> </td><td>* error handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>If the error occured out of a statement context, it returns NULL </dd></dl><p>Definition at line <a class="el" href="error_8c-source.html#l00177">177</a> of file <a class="el" href="error_8c-source.html">error.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00110">OCI_Error::stmt</a>.</p></div></div><p><a class="anchor" name="ga06418c61c432aaaa725fecdd28bcb96"></a><!-- doxytag: member="ocilib.h::OCI_ErrorGetString" ref="ga06418c61c432aaaa725fecdd28bcb96" args="(OCI_Error *err)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_ErrorGetString </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___error.html">OCI_Error</a> * </td> <td class="paramname"> <em>err</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Retrieve error message from error handle. <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>err</em> </td><td>* error handle </td></tr> </table></dl><p>Definition at line <a class="el" href="error_8c-source.html#l00122">122</a> of file <a class="el" href="error_8c-source.html">error.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00113">OCI_Error::str</a>.</p></div></div><p><a class="anchor" name="g66d447c8cd06ea3f841b439a1aac055b"></a><!-- doxytag: member="ocilib.h::OCI_ErrorGetType" ref="g66d447c8cd06ea3f841b439a1aac055b" args="(OCI_Error *err)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_ErrorGetType </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___error.html">OCI_Error</a> * </td> <td class="paramname"> <em>err</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Retrieve the type of error from error handle. <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>err</em> </td><td>* error handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Returns one of the following values :</dd></dl><ul><li>OCI_ERR_ORACLE</li><li>OCI_ERR_OCILIB</li></ul><p><dl class="return" compact><dt><b>Returns:</b></dt><dd>Object type or OCI_UNKNOWN the input handle is NULL </dd></dl><p>Definition at line <a class="el" href="error_8c-source.html#l00133">133</a> of file <a class="el" href="error_8c-source.html">error.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00114">OCI_Error::type</a>.</p></div></div><p><a class="anchor" name="gf2abe52ad5b278f65dd97a44a2adac4c"></a><!-- doxytag: member="ocilib.h::OCI_GetLastError" ref="gf2abe52ad5b278f65dd97a44a2adac4c" args="(void)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___error.html">OCI_Error</a>* OCI_API OCI_GetLastError </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Retrieve the last error occured within the last OCILIB call. <p><dl class="note" compact><dt><b>Note:</b></dt><dd><a class="el" href="group__g__error.html#gf2abe52ad5b278f65dd97a44a2adac4c" title="Retrieve the last error occured within the last OCILIB call.">OCI_GetLastError()</a> is based on thread context and thus OCILIB must be initialized with the flag OCI_ENV_CONTEXT </dd></dl><p>Definition at line <a class="el" href="library_8c-source.html#l00975">975</a> of file <a class="el" href="library_8c-source.html">library.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00107">OCI_Error::raise</a>.</p></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 10:07:45 2008 for OCILIB (C Driver for Oracle) by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -