类 ConcurrencyFailureException
- 所有已实现的接口:
Serializable
public class ConcurrencyFailureException extends TransientDataAccessException
Exception thrown on concurrency failure.This exception should be subclassed to indicate the type of failure: optimistic locking, failure to acquire lock, etc.
- 从以下版本开始:
- 1.1
- 作者:
- Thomas Risberg
- 另请参阅:
OptimisticLockingFailureException
,PessimisticLockingFailureException
,CannotAcquireLockException
,DeadlockLoserDataAccessException
, 序列化表格
构造器概要
构造器 构造器 说明 ConcurrencyFailureException(String msg)
Constructor for ConcurrencyFailureException.ConcurrencyFailureException(String msg, Throwable cause)
Constructor for ConcurrencyFailureException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
ConcurrencyFailureException
public ConcurrencyFailureException(String msg)
Constructor for ConcurrencyFailureException.- 参数:
msg
- the detail message
ConcurrencyFailureException
public ConcurrencyFailureException(String msg, Throwable cause)
Constructor for ConcurrencyFailureException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use