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