public class OptimisticLockingFailureException extends ConcurrencyFailureException
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, 
Serialized Form| Constructor and Description | 
|---|
| OptimisticLockingFailureException(String msg)Constructor for OptimisticLockingFailureException. | 
| OptimisticLockingFailureException(String msg,
                                 Throwable cause)Constructor for OptimisticLockingFailureException. | 
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic OptimisticLockingFailureException(String msg)
msg - the detail message