Class ExceptionHandling


  • public class ExceptionHandling
    extends Object
    • Constructor Detail

      • ExceptionHandling

        public ExceptionHandling()
    • Method Detail

      • handleThrowable

        public static <T> T handleThrowable​(Callable<T> callable)
      • closeOnFlush

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

        public static boolean connectionClosedException​(Throwable throwable)
        returns true is the exception was caused by the connection being closed
      • sslHandshakeException

        public static boolean sslHandshakeException​(Throwable throwable)
      • connectionException

        public static boolean connectionException​(Throwable throwable)