类 TransactionSuspensionNotSupportedException
- 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.TransactionSuspensionNotSupportedException
- 所有已实现的接口:
Serializable
public class TransactionSuspensionNotSupportedException extends CannotCreateTransactionException
Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.- 从以下版本开始:
- 1.1
- 作者:
- Juergen Hoeller
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 TransactionSuspensionNotSupportedException(String msg)
Constructor for TransactionSuspensionNotSupportedException.TransactionSuspensionNotSupportedException(String msg, Throwable cause)
Constructor for TransactionSuspensionNotSupportedException.
方法概要
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
TransactionSuspensionNotSupportedException
public TransactionSuspensionNotSupportedException(String msg)
Constructor for TransactionSuspensionNotSupportedException.- 参数:
msg
- the detail message
TransactionSuspensionNotSupportedException
public TransactionSuspensionNotSupportedException(String msg, Throwable cause)
Constructor for TransactionSuspensionNotSupportedException.- 参数:
msg
- the detail messagecause
- the root cause from the transaction API in use