|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.adfnmc.AdfNmcException
oracle.adfnmc.java.sql.SQLException
public class SQLException
An Exception class that is used in conjunction with JDBC operations. It provides information about problems encountered with Database access and other problems related to JDBC
The SQLException class provides the following information:
Field Summary | |
---|---|
static int |
SQL_ERRORCODE_FILENOTFOUND
|
Fields inherited from class oracle.adfnmc.AdfNmcException |
---|
CLASS_INSTANCE, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM |
Constructor Summary | |
---|---|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod)
Creates an SQLException object. |
|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String theReason)
Creates an SQLException object. |
|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String theReason,
java.lang.String theSQLState)
Creates an SQLException object. |
|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.String theReason,
java.lang.String theSQLState,
int theErrorCode)
Creates an SQLException object. |
|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable cause,
java.lang.String msg,
java.lang.Object[] params)
|
|
SQLException(java.lang.Class callingClass,
java.lang.String callingMethod,
java.lang.Throwable cause,
java.lang.String bundleName,
java.lang.String messageCode,
java.lang.Object[] params,
int errorCode)
|
Method Summary | |
---|---|
int |
getErrorCode()
Returns the integer error code for this SQLException |
SQLException |
getNextException()
Retrieves the SQLException chained to this SQLException, if any. |
java.lang.String |
getSQLState()
Retrieves the SQLState description string for this SQLException object |
void |
setNextException(SQLException ex)
Adds the SQLException to the end of this SQLException chain. |
Methods inherited from class oracle.adfnmc.AdfNmcException |
---|
addLogMessage, addLogMessage, getCallerInfo, getCause, getPriority, getStringContent, getStringContent, isFatal, printLogMessages, setFatal, setInnerException, setPriority, toLogString, toString |
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SQL_ERRORCODE_FILENOTFOUND
Constructor Detail |
---|
public SQLException(java.lang.Class callingClass, java.lang.String callingMethod)
public SQLException(java.lang.Class callingClass, java.lang.String callingMethod, java.lang.String theReason)
theReason
- the string to use as the Reason stringpublic SQLException(java.lang.Class callingClass, java.lang.String callingMethod, java.lang.String theReason, java.lang.String theSQLState)
theReason
- the string to use as the Reason stringtheSQLState
- the string to use as the SQLState stringpublic SQLException(java.lang.Class callingClass, java.lang.String callingMethod, java.lang.String theReason, java.lang.String theSQLState, int theErrorCode)
theReason
- the string to use as the Reason stringtheSQLState
- the string to use as the SQLState stringtheErrorCode
- the integer value for the error codepublic SQLException(java.lang.Class callingClass, java.lang.String callingMethod, java.lang.Throwable cause, java.lang.String msg, java.lang.Object[] params)
public SQLException(java.lang.Class callingClass, java.lang.String callingMethod, java.lang.Throwable cause, java.lang.String bundleName, java.lang.String messageCode, java.lang.Object[] params, int errorCode)
Method Detail |
---|
public int getErrorCode()
public SQLException getNextException()
public java.lang.String getSQLState()
public void setNextException(SQLException ex)
ex
- the new SQLException to be added to the end of the chain
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |