Class TransactionException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    IllegalTransactionStateException, RollbackOnlyException

    public class TransactionException
    extends java.lang.RuntimeException
    Superclass of all system exceptions.

    all exceptions that inherits from JaloSystemException are Runtime exception and must not be caught.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionException​(java.lang.String message)  
      TransactionException​(java.lang.Throwable throwable)  
      TransactionException​(java.lang.Throwable throwable, java.lang.String message, int vendorCode)
      Constructor JaloSystemException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Method getErrorCode
      java.lang.String getMessage()
      Method getMessage
      java.lang.Throwable getThrowable()
      Method getThrowable
      void printStackTrace()
      Method printStackTrace
      void printStackTrace​(java.io.PrintStream ps)
      Method printStackTrace
      void printStackTrace​(java.io.PrintWriter pw)
      Method printStackTrace
      java.lang.String toString()
      Method toString
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransactionException

        public TransactionException​(java.lang.Throwable throwable,
                                    java.lang.String message,
                                    int vendorCode)
        Constructor JaloSystemException
        Parameters:
        throwable -
        message -
        vendorCode -
      • TransactionException

        public TransactionException​(java.lang.String message)
      • TransactionException

        public TransactionException​(java.lang.Throwable throwable)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Method getErrorCode
      • getThrowable

        public java.lang.Throwable getThrowable()
        Method getThrowable
      • getMessage

        public java.lang.String getMessage()
        Method getMessage
        Overrides:
        getMessage in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Method toString
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Method printStackTrace
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter pw)
        Method printStackTrace
        Overrides:
        printStackTrace in class java.lang.Throwable
        Parameters:
        pw -
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream ps)
        Method printStackTrace
        Overrides:
        printStackTrace in class java.lang.Throwable
        Parameters:
        ps -