Class TransactionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wso2.carbon.database.utils.jdbc.exceptions.TransactionException
All Implemented Interfaces:
Serializable

public class TransactionException extends Exception
Exception class to throw errors of the transactions.
See Also:
  • Constructor Details

    • TransactionException

      public TransactionException()
    • TransactionException

      public TransactionException(String errorMsg)
    • TransactionException

      public TransactionException(String errorMsg, String errorCode)
    • TransactionException

      public TransactionException(String errorMsg, Throwable e)
    • TransactionException

      public TransactionException(String errorMsg, String errorCode, Throwable e)
  • Method Details

    • getErrorCode

      public String getErrorCode()
    • setErrorCode

      public void setErrorCode(String errorCode)