VMware GemFire Java API Reference
Package org.apache.geode.cache
Class FailedSynchronizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.cache.FailedSynchronizationException
-
- All Implemented Interfaces:
java.io.Serializable
public class FailedSynchronizationException extends CacheRuntimeException
Thrown when a cache transaction fails to register with theUserTransaction(aka JTA transaction), most likely the cause of theUserTransaction'sjavax.transaction.Status#STATUS_MARKED_ROLLBACKstatus.- 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 ofFailedSynchronizationExceptionwith the specified detail message.FailedSynchronizationException(java.lang.String msg, java.lang.Throwable cause)Constructs an instance ofFailedSynchronizationExceptionwith the specified detail message and cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
FailedSynchronizationException
public FailedSynchronizationException(java.lang.String msg)
Constructs an instance ofFailedSynchronizationExceptionwith the specified detail message.- Parameters:
msg- the detail message
-
FailedSynchronizationException
public FailedSynchronizationException(java.lang.String msg, java.lang.Throwable cause)Constructs an instance ofFailedSynchronizationExceptionwith the specified detail message and cause.- Parameters:
msg- the detail messagecause- the causal Throwable
-
-