org.multiverse.api.exceptions
Class RetryNotPossibleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.multiverse.api.exceptions.TxnExecutionException
                  extended by org.multiverse.api.exceptions.RetryException
                      extended by org.multiverse.api.exceptions.RetryNotPossibleException
All Implemented Interfaces:
Serializable

public class RetryNotPossibleException
extends RetryException

A RetryException throw when a StmUtils.retry() or Txn.retry() done on a Txn without the possibility of progress, for example when the readset of a transaction is empty.

Author:
Peter Veentjer.
See Also:
Serialized Form

Constructor Summary
RetryNotPossibleException(String message)
          Creates a new NoRetryPossibleException with the provided message.
RetryNotPossibleException(String message, Throwable cause)
          Creates a new NoRetryPossibleException with the provided message and cause.
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RetryNotPossibleException

public RetryNotPossibleException(String message)
Creates a new NoRetryPossibleException with the provided message.

Parameters:
message - the message of the exception.

RetryNotPossibleException

public RetryNotPossibleException(String message,
                                 Throwable cause)
Creates a new NoRetryPossibleException with the provided message and cause.

Parameters:
message - the message of the exception.
cause - the cause of the exception.


Copyright © 2012. All Rights Reserved.