Class ExceptionHandler


  • public class ExceptionHandler
    extends Object
    • Constructor Detail

      • ExceptionHandler

        public ExceptionHandler()
    • Method Detail

      • closeOnFlush

        public static void closeOnFlush​(io.netty.channel.Channel ch)
        Closes the specified channel after all queued write requests are flushed.
      • shouldNotIgnoreException

        public static boolean shouldNotIgnoreException​(Throwable cause)
        returns true is the exception was caused by the connection being closed