Module 
Package org.xnio

Interface ChannelExceptionHandler<T extends java.nio.channels.Channel>

  • All Superinterfaces:
    java.util.EventListener

    public interface ChannelExceptionHandler<T extends java.nio.channels.Channel>
    extends java.util.EventListener
    An exception handler for utility channel listeners.
    Author:
    David M. Lloyd
    • Method Detail

      • handleException

        void handleException​(T channel,
                             java.io.IOException exception)
        Handle an exception on the channel.
        Parameters:
        channel - the channel
        exception - the exception