Package com.norconex.commons.lang.exec

# Interface IExceptionFilter

All Superinterfaces:
  `ExceptionFilter`

@Deprecated(since="3.0.0") public interface IExceptionFilter extends ExceptionFilter
Deprecated.
Use `ExceptionFilter` isntead.
Filter for limiting the exceptions to be eligible for retry.

Since:
  1.13.0
See Also:
  - `Retrier`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `retry(Exception e)`
  Deprecated.
  Filters an exception.

- ## Method Details

  - ### retry

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