org.apache.geode.cache

## Class TransactionException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.apache.geode.GemFireException
        - - org.apache.geode.cache.CacheException
          - - org.apache.geode.cache.TransactionException

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    CommitConflictException, CommitDistributionException, CommitIncompleteException, TransactionDataNodeHasDepartedException, TransactionDataNotColocatedException, TransactionDataRebalancedException, TransactionInDoubtException

      public class TransactionException
      extends CacheException

  This is the superclass for all Exceptions that may be thrown by a GemFire transaction.
  Since:
    GemFire 6.5
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionException()`
    `TransactionException(java.lang.String message)`
    `TransactionException(java.lang.String message, java.lang.Throwable cause)`
    `TransactionException(java.lang.Throwable cause)`

  - ### Method Summary

    - ### Methods inherited from class org.apache.geode.cache.CacheException

      `toString`

    - ### Methods inherited from class org.apache.geode.GemFireException

      `getRootCause`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TransactionException

          public TransactionException()

    - #### TransactionException

          public TransactionException(java.lang.String message)

    - #### TransactionException

          public TransactionException(java.lang.Throwable cause)

    - #### TransactionException

          public TransactionException(java.lang.String message,
                                      java.lang.Throwable cause)