类 OptimisticLockingFailureException
- 所有已实现的接口:
Serializable
public class OptimisticLockingFailureException extends ConcurrencyFailureException
Exception thrown on an optimistic locking violation.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.
- 作者:
- Rod Johnson
- 另请参阅:
PessimisticLockingFailureException
, 序列化表格
构造器概要
构造器 构造器 说明 OptimisticLockingFailureException(String msg)
Constructor for OptimisticLockingFailureException.OptimisticLockingFailureException(String msg, Throwable cause)
Constructor for OptimisticLockingFailureException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
OptimisticLockingFailureException
public OptimisticLockingFailureException(String msg)
Constructor for OptimisticLockingFailureException.- 参数:
msg
- the detail message
OptimisticLockingFailureException
public OptimisticLockingFailureException(String msg, Throwable cause)
Constructor for OptimisticLockingFailureException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use