Class TransactionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransactionException
    extends java.lang.Exception
    TransactionException is thrown when some operation inside the transaction fails.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionException​(java.lang.String message)
      Creates an instance of this class.
      TransactionException​(java.lang.String message, java.lang.Throwable rootCause)
      Creates an instance of this class.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

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

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

      • TransactionException

        public TransactionException​(java.lang.String message)
        Creates an instance of this class. Takes a detail message as parameter.
        Parameters:
        message - message
      • TransactionException

        public TransactionException​(java.lang.String message,
                                    java.lang.Throwable rootCause)
        Creates an instance of this class. Takes a message and a root throwable as parameter.
        Parameters:
        message - message
        rootCause - root throwable