org.apache.geode.cache

## Class TransactionWriterException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - org.apache.geode.cache.TransactionWriterException

- All Implemented Interfaces:
    java.io.Serializable

      public class TransactionWriterException
      extends java.lang.Exception

  Exception thrown by implementors of `TransactionWriter.beforeCommit(org.apache.geode.cache.TransactionEvent)` to signal that the current transaction should be aborted.
  Since:
    GemFire 6.5
  See Also:
    `TransactionWriter.beforeCommit(org.apache.geode.cache.TransactionEvent)`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionWriterException(java.lang.String s)`
    `TransactionWriterException(java.lang.Throwable t)`

  - ### 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

    - #### TransactionWriterException

          public TransactionWriterException(java.lang.String s)

    - #### TransactionWriterException

          public TransactionWriterException(java.lang.Throwable t)