public interface ExceptionHandler
Modifier and Type | Method and Description |
---|---|
boolean |
handleException(Exception ex,
int ntries)
Determine how to proceed after an exception was thrown.
|
boolean handleException(Exception ex, int ntries) throws InterruptedException
Thread.sleep()
before returning.true
for immediate retry, false
to abortInterruptedException