IgnoreExceptionHandler

public class IgnoreExceptionHandler extends Object
implements ExceptionHandler

Exception handler that simply ignores all errors.

Public Constructor Summary

Public Method Summary

boolean
handleException(Exception e, int ntries)
Handles the exception by always just ignoring the error.

Inherited Method Summary

Public Constructors

public IgnoreExceptionHandler ()

Public Methods

public boolean handleException (Exception e, int ntries)

Handles the exception by always just ignoring the error.

Parameters
e the exception that occurred
ntries the number of consecutive failures for the current operation
Returns
  • true for an immediate retry or false to abort
Throws
InterruptedException

Send feedback about...

Cloud Search
Cloud Search