com.cloudtran.api
Class TransactionExceptionRuntime

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
                      extended by com.cloudtran.api.TransactionExceptionRuntime
All Implemented Interfaces:
Serializable

public class TransactionExceptionRuntime
extends TransactionExceptionNonRetriable

This exception wraps an unexpected RuntimeException. This is done so the programmer only has to handle TransactionException/Non/Retriable.

See Also:
Serialized Form

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

TransactionExceptionRuntime

public TransactionExceptionRuntime(String message)

TransactionExceptionRuntime

public TransactionExceptionRuntime(String message,
                                   Throwable cause)

TransactionExceptionRuntime

public TransactionExceptionRuntime(Throwable cause)
Method Detail

isRetriable

public boolean isRetriable()
Overrides:
isRetriable in class TransactionExceptionNonRetriable