java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jooq.exception.DataAccessException
org.jooq.exception.DataChangedException
- All Implemented Interfaces:
- Serializable
An error occurred while storing a record with optimistic locking active,
 whose underlying data had already been changed.
 
This exception may be thrown if:
- The record has been changed.
- The record has been removed.
- It isn't possible to detect whether the record has been changed (e.g.
 because UpdatableRecord.update()is called on a record that hasn't been previously fetched from the database).
- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDataChangedException(String message) Constructor for DataChangedException.DataChangedException(String message, Throwable cause) Constructor for DataChangedException.
- 
Method SummaryMethods inherited from class org.jooq.exception.DataAccessExceptiongetCause, getStackTrace, sqlState, sqlStateClass, sqlStateClass, sqlStateClass, sqlStateClass, sqlStateSubclass, sqlStateSubclassMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
DataChangedExceptionConstructor for DataChangedException.- Parameters:
- message- the detail message
 
- 
DataChangedExceptionConstructor for DataChangedException.- Parameters:
- message- the detail message
- cause- the root cause (usually from using a underlying data access API such as JDBC)
 
 
-