Package org.multiverse.api.exceptions
Class RetryException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.RetryException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RetryInterruptedException,RetryNotAllowedException,RetryNotPossibleException,RetryTimeoutException,TooManyRetriesException
public abstract class RetryException extends TxnExecutionException
ATxnExecutionExceptionthrown when retrying a transaction for another attempt fails. E.g. because an explicit retry is not used, or when there are too many retry attempts.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description RetryException()Creates a new RetryException.RetryException(java.lang.String message)Creates a new RetryException with the provided message.RetryException(java.lang.String message, java.lang.Throwable cause)Creates a new RetryException with the provided message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetryException
public RetryException()
Creates a new RetryException.
-
RetryException
public RetryException(java.lang.String message)
Creates a new RetryException with the provided message.- Parameters:
message- the message of the RetryException.
-
RetryException
public RetryException(java.lang.String message, java.lang.Throwable cause)Creates a new RetryException with the provided message and cause.- Parameters:
message- the message of the RetryException.cause- the cause of the RetryException.
-
-