com.cloudtran.api
Class TransactionExceptionNonRetriable

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.TransactionExceptionNonRetriable
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InternalException, RowTransformException, TransactionExceptionMvccReadCheckFailed, TransactionExceptionMvccUpdateCheckFailed, TransactionExceptionNameUsedBefore, TransactionExceptionParameterOrUsageError, TransactionExceptionRuntime, TransactionExceptionShuttingDown, TransactionExceptionTxComplete

public abstract class TransactionExceptionNonRetriable
extends CTxException

The TransactionExceptionNonRetriable extends from RuntimeException so it doesn't need to be handled by run threads for example. This means that it should be explicitly caught by client code.

See Also:
Serialized Form

Constructor Summary
TransactionExceptionNonRetriable()
           
TransactionExceptionNonRetriable(String message)
           
TransactionExceptionNonRetriable(String message, Throwable cause)
           
TransactionExceptionNonRetriable(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

TransactionExceptionNonRetriable

public TransactionExceptionNonRetriable()

TransactionExceptionNonRetriable

public TransactionExceptionNonRetriable(String message)

TransactionExceptionNonRetriable

public TransactionExceptionNonRetriable(String message,
                                        Throwable cause)

TransactionExceptionNonRetriable

public TransactionExceptionNonRetriable(Throwable cause)
Method Detail

isRetriable

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