Package com.ibm.websphere.ce.cm
Class DuplicateKeyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.sql.SQLException
-
- com.ibm.websphere.ce.cm.PortableSQLException
-
- com.ibm.websphere.ce.cm.DuplicateKeyException
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<java.lang.Throwable>
public final class DuplicateKeyException extends PortableSQLException
Indicates when a duplicate key exception is thrown from the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateKeyException()
DuplicateKeyException(java.lang.String reason)
DuplicateKeyException(java.lang.String reason, java.lang.String state, int errCode)
DuplicateKeyException(java.sql.SQLException nativeException)
-
Method Summary
-
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DuplicateKeyException
public DuplicateKeyException(java.sql.SQLException nativeException)
-
DuplicateKeyException
public DuplicateKeyException(java.lang.String reason)
-
DuplicateKeyException
public DuplicateKeyException()
-
DuplicateKeyException
public DuplicateKeyException(java.lang.String reason, java.lang.String state, int errCode)
-
-