Class TransactionException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TransactionRolledBackException

    @ProviderType
    public class TransactionException
    extends java.lang.RuntimeException
    An Exception indicating that there was a problem with starting, finishing, suspending or resuming a transaction
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionException​(java.lang.String message)
      Creates a new TransactionException with the supplied message
      TransactionException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new TransactionException with the supplied message and cause
    • 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

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

      • TransactionException

        public TransactionException​(java.lang.String message)
        Creates a new TransactionException with the supplied message
        Parameters:
        message -
      • TransactionException

        public TransactionException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Creates a new TransactionException with the supplied message and cause
        Parameters:
        message -
        cause -