java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
is.codion.common.db.exception.DatabaseException
is.codion.common.db.exception.UniqueConstraintException
- All Implemented Interfaces:
Serializable
An exception indication a unique constraint failure
- See Also:
-
Constructor Summary
ConstructorDescriptionUniqueConstraintException
(SQLException cause, String message) Instantiates a newUniqueConstraintException
-
Method Summary
Methods inherited from class is.codion.common.db.exception.DatabaseException
errorCode, setStackTrace, sqlState, statement
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, toString
-
Constructor Details
-
UniqueConstraintException
Instantiates a newUniqueConstraintException
- Parameters:
cause
- the underlying causemessage
- the error message
-