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
ATxnExecutionException
thrown 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
-
-
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.
-
-
-
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.
-
-