Class TransactionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
xyz.zhouxy.jdbc.TransactionException
All Implemented Interfaces:
Serializable

public class TransactionException extends Exception
事务异常

用于包装事务执行过程中发生的原始异常

Author:
ZhouXY
See Also:
  • Constructor Details

    • TransactionException

      public TransactionException(Throwable cause)
      事务异常
      Parameters:
      cause - 原始异常
    • TransactionException

      public TransactionException(String message, Throwable cause)
      事务异常
      Parameters:
      message - 异常信息
      cause - 原始异常