public class PessimisticLockingFailureException extends ConcurrencyFailureException
Serves as superclass for more specific exceptions, like CannotAcquireLockException and DeadlockLoserDataAccessException.
CannotAcquireLockException
,
DeadlockLoserDataAccessException
,
OptimisticLockingFailureException
,
Serialized FormConstructor and Description |
---|
PessimisticLockingFailureException(java.lang.String msg)
Constructor for PessimisticLockingFailureException.
|
PessimisticLockingFailureException(java.lang.String msg,
java.lang.Throwable cause)
Constructor for PessimisticLockingFailureException.
|
contains, getMessage, getMostSpecificCause, getRootCause
public PessimisticLockingFailureException(java.lang.String msg)
msg
- the detail messagepublic PessimisticLockingFailureException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause from the data access API in use