Class MaxRetriesExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.resilience4j.retry.MaxRetriesExceededException
- All Implemented Interfaces:
Serializable
A
MaxRetriesExceededException signals that a Retry has exhausted all attempts,
and the result is still not satisfactory to RetryConfig.getResultPredicate()- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateMaxRetriesExceededException(String causingRetryName, String message, boolean writeableStackTrace) -
Method Summary
Modifier and TypeMethodDescriptionstatic MaxRetriesExceededExceptionStatic method to construct aMaxRetriesExceededExceptionMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
causingRetryName
-
-
Constructor Details
-
MaxRetriesExceededException
-
-
Method Details
-
createMaxRetriesExceededException
Static method to construct aMaxRetriesExceededException- Parameters:
retry- the Retry which failed
-
getCausingRetryName
-