org.jminor.common.db.exception
Class RecordModifiedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jminor.common.db.exception.DatabaseException
org.jminor.common.db.exception.RecordModifiedException
- All Implemented Interfaces:
- Serializable
public final class RecordModifiedException
- extends DatabaseException
An exception indicating that the row in question has been modified since it was loaded.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RecordModifiedException
public RecordModifiedException(Object row,
Object modifiedRow)
- Instantiates a new RecordModifiedException
- Parameters:
row
- the row being updatedmodifiedRow
- the current (modified) version of the row
getRow
public Object getRow()
- Returns:
- the row bing updated
getModifiedRow
public Object getModifiedRow()
- Returns:
- the current (modified) version of the row