public interface IOReactorExceptionHandler
Modifier and Type | Method and Description |
---|---|
boolean |
handle(IOException ex)
This method is expected to examine the I/O exception passed as
a parameter and decide whether it is safe to continue execution of
the I/O reactor.
|
boolean |
handle(RuntimeException ex)
This method is expected to examine the runtime exception passed as
a parameter and decide whether it is safe to continue execution of
the I/O reactor.
|
boolean handle(IOException ex)
ex
- potentially recoverable I/O exceptiontrue
if it is safe to ignore the exception
and continue execution of the I/O reactor; false
if the
I/O reactor must throw IOReactorException
and terminateboolean handle(RuntimeException ex)
ex
- potentially recoverable runtime exceptiontrue
if it is safe to ignore the exception
and continue execution of the I/O reactor; false
if the
I/O reactor must throw RuntimeException
and terminateCopyright © 2010 - 2020 Adobe. All Rights Reserved