public class DataStoreSqlException
extends com.ibm.events.datastore.DataStoreException
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
getCause, getFile, getKey, getLocalizedMessage, getLocalizedMessage, getMessage, getParms, initCause, printStackTrace, printStackTrace, printStackTrace
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.public int getErrorCode()
SQLException
getErrorCode() method.public java.lang.String getSQLState()
SQLException
getSQLState() method.public java.lang.String getLocalizedRdbmsMessage()
SQLException
getLocalizedMessage() method.