public class PessimisticLockingFailureException extends ConcurrencyFailureException
Serves as a superclass for more specific exceptions, e.g.
CannotAcquireLockException
. However, it is generally
recommended to handle PessimisticLockingFailureException
itself instead of relying on specific exception subclasses.
OptimisticLockingFailureException
,
Serialized FormConstructor and Description |
---|
PessimisticLockingFailureException(String msg)
Constructor for PessimisticLockingFailureException.
|
PessimisticLockingFailureException(String msg,
Throwable cause)
Constructor for PessimisticLockingFailureException.
|
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PessimisticLockingFailureException(String msg)
msg
- the detail message