GemFire 6.5.1

com.gemstone.gemfire.cache
Class CommitConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.CacheException
                      extended by com.gemstone.gemfire.cache.TransactionException
                          extended by com.gemstone.gemfire.cache.CommitConflictException
All Implemented Interfaces:
Serializable

public class CommitConflictException
extends TransactionException

Thrown when a commit fails due to a write conflict.

Since:
4.0
See Also:
CacheTransactionManager.commit(), Serialized Form

Constructor Summary
CommitConflictException(String msg)
          Constructs an instance of CommitConflictException with the specified detail message.
CommitConflictException(String msg, Throwable cause)
          Constructs an instance of CommitConflictException with the specified detail message and cause.
CommitConflictException(Throwable cause)
          Constructs an instance of CommitConflictException with the specified cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.cache.CacheException
toString
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitConflictException

public CommitConflictException(String msg)
Constructs an instance of CommitConflictException with the specified detail message.

Parameters:
msg - the detail message

CommitConflictException

public CommitConflictException(String msg,
                               Throwable cause)
Constructs an instance of CommitConflictException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the causal Throwable

CommitConflictException

public CommitConflictException(Throwable cause)
Constructs an instance of CommitConflictException with the specified cause.

Parameters:
cause - the causal Throwable
Since:
6.5

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.