org.multiverse.api.exceptions
Class Retry

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by org.multiverse.api.exceptions.ControlFlowError
              extended by org.multiverse.api.exceptions.Retry
All Implemented Interfaces:
Serializable

public class Retry
extends ControlFlowError

A ControlFlowError that indicates that an explicit retry should be done, e.g. because a transaction wants to pop an item from an empty queue.

Author:
Peter Veentjer.
See Also:
Serialized Form

Field Summary
static Retry INSTANCE
           
 
Constructor Summary
Retry()
           
 
Method Summary
static Retry create()
           
 String getDescription()
           
 
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
 

Field Detail

INSTANCE

public static final Retry INSTANCE
Constructor Detail

Retry

public Retry()
Method Detail

create

public static Retry create()

getDescription

public String getDescription()
Specified by:
getDescription in class ControlFlowError


Copyright © 2008-2010 Multiverse. All Rights Reserved.