Class TransactionFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TransactionFailedException
    extends java.lang.Exception
    Indicate that the newly submitted value was invalid, and the transaction that submitted the new value should be marked as a failure.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionFailedException()
      Create an exception indicating a transaction has failed for an unknown reason.
      TransactionFailedException​(java.lang.Throwable cause)
      Create an exception wrapping the cause of a transaction failure.
    • 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

      • TransactionFailedException

        public TransactionFailedException()
        Create an exception indicating a transaction has failed for an unknown reason.
        Since:
        4.0.0
      • TransactionFailedException

        public TransactionFailedException​(java.lang.Throwable cause)
        Create an exception wrapping the cause of a transaction failure.
        Parameters:
        cause - the original exception cause
        Since:
        4.0.0