|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.events.EventsException
com.ibm.events.datastore.DataStoreException
com.ibm.events.datastore.DataStoreSqlException
Wrapper for SQLException instances that can be thrown by the JDBC driver. JDBC resources are not directly exposed to the data store's caller.
Constructor Summary | |
---|---|
DataStoreSqlException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms,
java.sql.SQLException cause)
Constructs a new DataStoreSqlException with a detail message,
message translation information (resource bundle, message key and message
substitutions) and a nested exception. |
Method Summary | |
---|---|
int |
getErrorCode()
Access method for the errorCode property. |
java.lang.String |
getLocalizedRdbmsMessage()
Access method for the localizedRdbmsMessage property. |
java.lang.String |
getSQLState()
Access method for the sqlState property. |
Methods inherited from class com.ibm.events.EventsException |
---|
getCause, getFile, getKey, getLocalizedMessage, getLocalizedMessage, getMessage, getParms, initCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DataStoreSqlException(java.lang.String key, java.lang.String file, java.lang.Object[] parms, java.sql.SQLException cause)
DataStoreSqlException
with a detail message,
message translation information (resource bundle, message key and message
substitutions) and a nested exception.
key
- The message key.file
- The name of the message file to use.parms
- An array of elements to be inserted into the message.cause
- The nested exception or null
if a nested
exception is not appropriate.Method Detail |
public int getErrorCode()
SQLException
getErrorCode() method.
public java.lang.String getSQLState()
SQLException
getSQLState() method.
public java.lang.String getLocalizedRdbmsMessage()
SQLException
getLocalizedMessage() method.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |