Class FailedSynchronizationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FailedSynchronizationException
    extends CacheRuntimeException
    Thrown when a cache transaction fails to register with the UserTransaction (aka JTA transaction), most likely the cause of the UserTransaction's javax.transaction.Status#STATUS_MARKED_ROLLBACK status.
    Since:
    GemFire 4.0
    See Also:
    UserTransaction.setRollbackOnly(), Transaction.registerSynchronization(javax.transaction.Synchronization), Status, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FailedSynchronizationException​(java.lang.String msg)
      Constructs an instance of FailedSynchronizationException with the specified detail message.
      FailedSynchronizationException​(java.lang.String msg, java.lang.Throwable cause)
      Constructs an instance of FailedSynchronizationException with the specified detail message and cause.
    • Method Summary

      • 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

      • FailedSynchronizationException

        public FailedSynchronizationException​(java.lang.String msg)
        Constructs an instance of FailedSynchronizationException with the specified detail message.
        Parameters:
        msg - the detail message
      • FailedSynchronizationException

        public FailedSynchronizationException​(java.lang.String msg,
                                              java.lang.Throwable cause)
        Constructs an instance of FailedSynchronizationException with the specified detail message and cause.
        Parameters:
        msg - the detail message
        cause - the causal Throwable