类 TransactionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.transaction.TransactionException
- 所有已实现的接口:
Serializable
- 直接已知子类:
CannotCreateTransactionException
,HeuristicCompletionException
,TransactionSystemException
,TransactionTimedOutException
,TransactionUsageException
,UnexpectedRollbackException
public abstract class TransactionException extends NestedRuntimeException
Superclass for all transaction exceptions.- 从以下版本开始:
- 17.03.2003
- 作者:
- Rod Johnson
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 TransactionException(String msg)
Constructor for TransactionException.TransactionException(String msg, Throwable cause)
Constructor for TransactionException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
TransactionException
public TransactionException(String msg)
Constructor for TransactionException.- 参数:
msg
- the detail message
TransactionException
public TransactionException(String msg, Throwable cause)
Constructor for TransactionException.- 参数:
msg
- the detail messagecause
- the root cause from the transaction API in use