类 NoTransactionException

  • 所有已实现的接口:
    Serializable

    public class NoTransactionException
    extends TransactionUsageException
    Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction. This represents an illegal usage of the transaction API.
    从以下版本开始:
    17.03.2003
    作者:
    Rod Johnson
    另请参阅:
    序列化表格
    • 构造器详细资料

      • NoTransactionException

        public NoTransactionException​(String msg,
                                      Throwable cause)
        Constructor for NoTransactionException.
        参数:
        msg - the detail message
        cause - the root cause from the transaction API in use