java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.cuioss.http.client.retry.RetryException
- All Implemented Interfaces:
Serializable
Exception thrown when all retry attempts for an operation have failed.
This exception wraps the original exception that caused the final failure
and provides context about the retry operation that was attempted.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRetryException(String message) Creates a new RetryException with the specified message.RetryException(String message, Throwable cause) Creates a new RetryException with the specified message and cause.RetryException(Throwable cause) Creates a new RetryException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RetryException
Creates a new RetryException with the specified message.- Parameters:
message- the detail message
-
RetryException
Creates a new RetryException with the specified message and cause.- Parameters:
message- the detail messagecause- the cause of the retry failure (typically the last exception encountered)
-
RetryException
Creates a new RetryException with the specified cause.- Parameters:
cause- the cause of the retry failure
-