类 IllegalTransactionStateException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.transaction.TransactionException
- org.springframework.transaction.TransactionUsageException
- org.springframework.transaction.IllegalTransactionStateException
- 所有已实现的接口:
Serializable
public class IllegalTransactionStateException extends TransactionUsageException
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.- 从以下版本开始:
- 21.01.2004
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 IllegalTransactionStateException(String msg)
Constructor for IllegalTransactionStateException.IllegalTransactionStateException(String msg, Throwable cause)
Constructor for IllegalTransactionStateException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
IllegalTransactionStateException
public IllegalTransactionStateException(String msg)
Constructor for IllegalTransactionStateException.- 参数:
msg
- the detail message
IllegalTransactionStateException
public IllegalTransactionStateException(String msg, Throwable cause)
Constructor for IllegalTransactionStateException.- 参数:
msg
- the detail messagecause
- the root cause from the transaction API in use