com.cloudtran.api
Class TransactionExceptionRetriable

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.cloudtran.api.CTxException
                  extended by com.cloudtran.api.TransactionExceptionRetriable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransactionExceptionCohortTooBusy, TransactionExceptionLockConflict, TransactionExceptionManagerTimeout, TransactionExceptionManagerTooBusy, TransactionExceptionThreadError

public abstract class TransactionExceptionRetriable
extends CTxException

This exception indicates that the transaction cannot currently be committed due to a temporary condition. The transaction has been rolled back, but the transaction may well succeed if the client application retries it.

See Also:
Serialized Form

Constructor Summary
TransactionExceptionRetriable()
           
TransactionExceptionRetriable(String message)
           
TransactionExceptionRetriable(String message, Throwable cause)
           
TransactionExceptionRetriable(Throwable cause)
           
 
Method Summary
 boolean isRetriable()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionExceptionRetriable

public TransactionExceptionRetriable()

TransactionExceptionRetriable

public TransactionExceptionRetriable(String message)

TransactionExceptionRetriable

public TransactionExceptionRetriable(String message,
                                     Throwable cause)

TransactionExceptionRetriable

public TransactionExceptionRetriable(Throwable cause)
Method Detail

isRetriable

public boolean isRetriable()
Specified by:
isRetriable in class CTxException