Class MaxRetriesExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.resilience4j.retry.MaxRetriesExceededException
All Implemented Interfaces:
java.io.Serializable

public class MaxRetriesExceededException
extends java.lang.RuntimeException
A MaxRetriesExceededException signals that a Retry has exhausted all attempts, and the result is still not satisfactory to RetryConfig.getResultPredicate()
See Also:
Serialized Form
  • Method Summary

    Modifier and Type Method Description
    static MaxRetriesExceededException createMaxRetriesExceededException​(Retry retry)
    Static method to construct a MaxRetriesExceededException
    java.lang.String getCausingRetryName()  

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait