Module is.codion.common.db
Package is.codion.common.db.exception
Class ReferentialIntegrityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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:
-
Constructor Summary
ConstructorsConstructorDescriptionReferentialIntegrityException
(SQLException cause, String message, Database.Operation operation) Instantiates a newReferentialIntegrityException
-
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
-
ReferentialIntegrityException
public ReferentialIntegrityException(SQLException cause, 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.Operation
causing this exception
-