类 NestedTransactionNotSupportedException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.transaction.TransactionException
- org.springframework.transaction.CannotCreateTransactionException
- org.springframework.transaction.NestedTransactionNotSupportedException
- 所有已实现的接口:
Serializable
public class NestedTransactionNotSupportedException extends CannotCreateTransactionException
Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.- 从以下版本开始:
- 1.1
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 NestedTransactionNotSupportedException(String msg)
Constructor for NestedTransactionNotSupportedException.NestedTransactionNotSupportedException(String msg, Throwable cause)
Constructor for NestedTransactionNotSupportedException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
NestedTransactionNotSupportedException
public NestedTransactionNotSupportedException(String msg)
Constructor for NestedTransactionNotSupportedException.- 参数:
msg
- the detail message
NestedTransactionNotSupportedException
public NestedTransactionNotSupportedException(String msg, Throwable cause)
Constructor for NestedTransactionNotSupportedException.- 参数:
msg
- the detail messagecause
- the root cause from the transaction API in use