java.lang.Object
java.lang.Throwable
java.lang.Exception
is.codion.common.db.exception.DatabaseException
is.codion.common.db.exception.UpdateException
is.codion.common.db.exception.RecordModifiedException
- All Implemented Interfaces:
Serializable
An exception indicating that the row in question has been modified or deleted since it was loaded.
- See Also:
-
Constructor Summary
ConstructorDescriptionRecordModifiedException
(Object row, Object modifiedRow, String message) Instantiates a new RecordModifiedException -
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
-
RecordModifiedException
Instantiates a new RecordModifiedException- Parameters:
row
- the row being updatedmodifiedRow
- the current (modified) version of the row, null if it has been deletedmessage
- a message describing the modification
-
-
Method Details
-
row
- Returns:
- the row being updated
-
modifiedRow
- Returns:
- the current (modified) version of the row, null if it has been deleted
-