Package org.multiverse.api.exceptions
Class TooManyRetriesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.multiverse.api.exceptions.TxnExecutionException
-
- org.multiverse.api.exceptions.RetryException
-
- org.multiverse.api.exceptions.TooManyRetriesException
-
- All Implemented Interfaces:
Serializable
public class TooManyRetriesException extends RetryException
ARetryException
thrown when aTxn
is retried too many times. Uncontrolled retrying could lead to liveness problems like livelocks and starvation.
-
-
Constructor Summary
Constructors Constructor Description TooManyRetriesException(String message)
Creates a new TooManyRetriesException with the provided message.TooManyRetriesException(String message, Throwable cause)
Creates a new TooManyRetriesException with the provided message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TooManyRetriesException
public TooManyRetriesException(String message)
Creates a new TooManyRetriesException with the provided message.- Parameters:
message
- the message of the exception.
-
-