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
A
RetryException
thrown when a Txn
is retried too many times. Uncontrolled
retrying could lead to liveness problems like livelocks and starvation.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTooManyRetriesException
(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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TooManyRetriesException
Creates a new TooManyRetriesException with the provided message.- Parameters:
message
- the message of the exception.
-
TooManyRetriesException
Creates a new TooManyRetriesException with the provided message.- Parameters:
message
- the message of the exceptioncause
- the cause of the exception
-