org.apache.tinkerpop.gremlin.structure.util

## Class TransactionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.tinkerpop.gremlin.structure.util.TransactionException

- All Implemented Interfaces:
    Serializable

      public class TransactionException
      extends RuntimeException

  An exception thrown by providers when calls to `AbstractTransaction.doCommit()` or `AbstractTransaction.doRollback()` fail. This exception will be propagated to users on calls to `Transaction.commit()` or `Transaction.rollback()`.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionException(String message)`
    `TransactionException(String message, Throwable cause)`
    `TransactionException(Throwable 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(String message)

    - #### TransactionException

          public TransactionException(Throwable cause)

    - #### TransactionException

          public TransactionException(String message,
                                      Throwable cause)

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.