📄 oracle.jdbc.xa.oraclexaexception.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Thu Dec 02 03:30:11 PST 1999 --><title> Class oracle.jdbc.xa.OracleXAException</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-oracle.jdbc.xa.html">This Package</a> <a href="oracle.jdbc.xa.OracleXADataSource.html#_top_">Previous</a> <a href="oracle.jdbc.xa.OracleXAResource.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class oracle.jdbc.xa.OracleXAException</h1><pre>oracle.jdbc.xa.OracleXAException</pre><hr><dl> <dt> public class <b>OracleXAException</b></dl>OracleConnectionCache extends XAException to leverage OracleSQL Error number corresponding to the XA Exception. <p><p><hr><a name="index"></a><h2> <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl> <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#OracleXAException()"><b>OracleXAException</b></a>() <dd> Default OracleXAException class. <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#OracleXAException(int)"><b>OracleXAException</b></a>(int) <dd> Default OracleXAException class that takes an error codewhich is a combination of Oracle Sql No.</dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getOracleError()"><b>getOracleError</b></a>() <dd> getOracleError returns the Oracle Error code corresponding to this exception. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getXAError()"><b>getXAError</b></a>() <dd> getXAError returns the XA Error code corresponding tothis exception.</dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="OracleXAException"></a><a name="OracleXAException()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>OracleXAException</b><pre> public OracleXAException()</pre><dl> <dd> Default OracleXAException class. <p><p></dl><a name="OracleXAException(int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>OracleXAException</b><pre> public OracleXAException(int error)</pre><dl> <dd> Default OracleXAException class that takes an error codewhich is a combination of Oracle Sql No. and XA Error No.<p><p> <dd><dl> <dt> <b>Parameters:</b> <dd> error - Oracle Error no. </dl></dd></dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getXAError()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getXAError"><b>getXAError</b></a><pre> public int getXAError()</pre><dl> <dd> getXAError returns the XA Error code corresponding tothis exception. The error codes are the one defined inXAException class. <p><p> <dd><dl> <dt> <b>Returns:</b> <dd> int XA Error Code. </dl></dd></dl><a name="getOracleError()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getOracleError"><b>getOracleError</b></a><pre> public int getOracleError()</pre><dl> <dd> getOracleError returns the Oracle Error code corresponding to this exception. Return values are the standard ORA errors.Returns zero when one doesn't exist. <p><p> <dd><dl> <dt> <b>Returns:</b> <dd> int Oracle Error Code. </dl></dd></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-oracle.jdbc.xa.html">This Package</a> <a href="oracle.jdbc.xa.OracleXADataSource.html#_top_">Previous</a> <a href="oracle.jdbc.xa.OracleXAResource.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -