Class TxnFailedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TxnFailedException
    extends java.lang.Exception
    A transaction has failed. Usually because of it timed out or someone called Transaction.abort()
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TxnFailedException()
      Creates a new instance of TxnFailedException class.
      TxnFailedException​(java.lang.String msg)
      Creates a new instance of TxnFailedException class.
      TxnFailedException​(java.lang.String msg, java.lang.Throwable e)
      Creates a new instance of TxnFailedException class.
      TxnFailedException​(java.lang.Throwable e)
      Creates a new instance of TxnFailedException 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

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

      • TxnFailedException

        public TxnFailedException()
        Creates a new instance of TxnFailedException class.
      • TxnFailedException

        public TxnFailedException​(java.lang.Throwable e)
        Creates a new instance of TxnFailedException class.
        Parameters:
        e - The cause.
      • TxnFailedException

        public TxnFailedException​(java.lang.String msg,
                                  java.lang.Throwable e)
        Creates a new instance of TxnFailedException class.
        Parameters:
        msg - Exception description.
        e - The cause.
      • TxnFailedException

        public TxnFailedException​(java.lang.String msg)
        Creates a new instance of TxnFailedException class.
        Parameters:
        msg - Exception description.