Class ExceptionHandling

java.lang.Object
software.xdev.mockserver.exception.ExceptionHandling

public final class ExceptionHandling extends Object
  • Method Details

    • 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)