org.multiverse.api.exceptions
Class TooManyRetriesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.multiverse.api.exceptions.TooManyRetriesException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstructorCantRetryException

public class TooManyRetriesException
extends RuntimeException

A RuntimeException that is thrown when a transaction is retried too many times. Uncontrolled retrying could lead to liveness problems like livelocks and starvation.

Author:
Peter Veentjer.
See Also:
Serialized Form

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

TooManyRetriesException

public TooManyRetriesException()

TooManyRetriesException

public TooManyRetriesException(String message)

TooManyRetriesException

public TooManyRetriesException(String message,
                               Throwable cause)

TooManyRetriesException

public TooManyRetriesException(Throwable cause)


Copyright © 2008-2010 Multiverse. All Rights Reserved.