Class ExceptionHandling

java.lang.Object
de.gematik.test.tiger.mockserver.exception.ExceptionHandling

public class ExceptionHandling extends Object
  • Constructor Details

    • ExceptionHandling

      public ExceptionHandling()
  • Method Details

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