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:
-
Field Summary
Fields inherited from class is.codion.common.db.exception.DatabaseException
SQL_STATE_NO_DATA -
Constructor Summary
ConstructorsConstructorDescriptionUniqueConstraintException(SQLException cause, @Nullable String message) Instantiates a newUniqueConstraintException -
Method Summary
Methods inherited from class is.codion.common.db.exception.DatabaseException
errorCode, setStackTrace, sqlState, statementMethods 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
-