Interface IExceptionFilter


  • public interface IExceptionFilter
    Filter for limiting the exceptions to be eligible for retry.
    Since:
    1.13.0 (previously part of now deprecated JEF API)
    Author:
    Pascal Essiembre
    See Also:
    Retrier
    • Method Detail

      • retry

        boolean retry​(Exception e)
        Filters an exception. Runtime exceptions can be of any type, but checked exceptions are always wrapped in a RetriableException.
        Parameters:
        e - the exception to filter
        Returns:
        true if the exception should trigger a retry, false to abort execution