public class ConcurrencyFailureException extends TransientDataAccessException
This exception should be subclassed to indicate the type of failure: optimistic locking, failure to acquire lock, etc.
OptimisticLockingFailureException
,
PessimisticLockingFailureException
,
CannotAcquireLockException
,
DeadlockLoserDataAccessException
,
Serialized FormConstructor and Description |
---|
ConcurrencyFailureException(java.lang.String msg)
Constructor for ConcurrencyFailureException.
|
ConcurrencyFailureException(java.lang.String msg,
java.lang.Throwable cause)
Constructor for ConcurrencyFailureException.
|
contains, getMessage, getMostSpecificCause, getRootCause
public ConcurrencyFailureException(java.lang.String msg)
msg
- the detail messagepublic ConcurrencyFailureException(java.lang.String msg, @Nullable java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause from the data access API in use