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 FormConstructor and Description |
---|
OptimisticLockingFailureException(String msg)
Constructor for OptimisticLockingFailureException.
|
OptimisticLockingFailureException(String msg,
Throwable cause)
Constructor for OptimisticLockingFailureException.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OptimisticLockingFailureException(String msg)
msg
- the detail message