org.multiverse.api.exceptions
Class Retry
java.lang.Object
java.lang.Throwable
java.lang.Error
org.multiverse.api.exceptions.ControlFlowError
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
|
Constructor Summary |
Retry()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
INSTANCE
public static final Retry INSTANCE
Retry
public Retry()
create
public static Retry create()
getDescription
public String getDescription()
- Specified by:
getDescription in class ControlFlowError
Copyright © 2008-2010 Multiverse. All Rights Reserved.