Class RetryOnIgnoredErrorEvent

java.lang.Object
io.github.resilience4j.retry.event.AbstractRetryEvent
io.github.resilience4j.retry.event.RetryOnIgnoredErrorEvent
All Implemented Interfaces:
RetryEvent

public class RetryOnIgnoredErrorEvent extends AbstractRetryEvent
A RetryEvent which informs that an error has been ignored. It will not be retried.

An error is ignored when the exception is determined to be non-retriable, as determined by the RetryConfig.

  • Constructor Details

    • RetryOnIgnoredErrorEvent

      public RetryOnIgnoredErrorEvent(String name, @Nullable Throwable lastThrowable)
  • Method Details

    • getEventType

      public RetryEvent.Type getEventType()
      Description copied from interface: RetryEvent
      Returns the type of the Retry event.
      Returns:
      the type of the Retry event
    • toString

      public String toString()
      Overrides:
      toString in class Object