This exception will be thrown either by O/R mapping tools or by custom DAO implementations. Optimistic locking failure is typically not detected by the database itself.
PessimisticLockingFailureException
| Access | Constructor and Description |
|---|---|
| public | OptimisticLockingFailureException(String
the detail message msg)Constructor for OptimisticLockingFailureException. |
| public | OptimisticLockingFailureException(String
the detail message msg, Throwable the root cause from the data access API in use cause)Constructor for OptimisticLockingFailureException. |
| OptimisticLockingFailureException | back to summary |
|---|---|
| public OptimisticLockingFailureException(String msg) Constructor for OptimisticLockingFailureException.
| |
| OptimisticLockingFailureException | back to summary |
|---|---|
| public OptimisticLockingFailureException(String msg, Throwable cause) Constructor for OptimisticLockingFailureException. | |