public void setExceptionListener (ExceptionListener exceptionListener)

Sets the exception handler for this stream to exceptionListener. The exception handler is notified when this stream catches recoverable exceptions.

Parameters:
exceptionListener    The exception handler for this stream; if null the default exception listener will be used.

See also:
getExceptionListener