Module is.codion.common.db
Package is.codion.common.db.exception
Class ReferentialIntegrityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
is.codion.common.db.exception.DatabaseException
is.codion.common.db.exception.ReferentialIntegrityException
- All Implemented Interfaces:
Serializable
An exception indication a referential integrity failure
- See Also:
-
Field Summary
Fields inherited from class is.codion.common.db.exception.DatabaseException
SQL_STATE_NO_DATA -
Constructor Summary
ConstructorsConstructorDescriptionReferentialIntegrityException(SQLException cause, @Nullable String message, Database.Operation operation) Instantiates a newReferentialIntegrityException -
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
-
ReferentialIntegrityException
public ReferentialIntegrityException(SQLException cause, @Nullable String message, Database.Operation operation) Instantiates a newReferentialIntegrityException- Parameters:
cause- the underlying causemessage- the error messageoperation- the operation causing this exception
-
-
Method Details
-
operation
- Returns:
- the
Database.Operationcausing this exception
-