类 CannotSerializeTransactionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.dao.DataAccessException
- org.springframework.dao.TransientDataAccessException
- org.springframework.dao.ConcurrencyFailureException
- org.springframework.dao.PessimisticLockingFailureException
- org.springframework.dao.CannotSerializeTransactionException
- 所有已实现的接口:
Serializable
public class CannotSerializeTransactionException extends PessimisticLockingFailureException
Exception thrown on failure to complete a transaction in serialized mode due to update conflicts.- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 CannotSerializeTransactionException(String msg)
Constructor for CannotSerializeTransactionException.CannotSerializeTransactionException(String msg, Throwable cause)
Constructor for CannotSerializeTransactionException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
CannotSerializeTransactionException
public CannotSerializeTransactionException(String msg)
Constructor for CannotSerializeTransactionException.- 参数:
msg
- the detail message
CannotSerializeTransactionException
public CannotSerializeTransactionException(String msg, Throwable cause)
Constructor for CannotSerializeTransactionException.- 参数:
msg
- the detail messagecause
- the root cause from the data access API in use