Class ExceptionHandling
java.lang.Object
de.gematik.test.tiger.mockserver.exception.ExceptionHandling
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcloseOnFlush(io.netty.channel.Channel ch) Closes the specified channel after all queued write requests are flushed.static booleanconnectionClosedException(Throwable throwable) returns true is the exception was caused by the connection being closedstatic booleanconnectionException(Throwable throwable) static <T> ThandleThrowable(Callable<T> callable) static booleansslHandshakeException(Throwable throwable)
-
Constructor Details
-
ExceptionHandling
public ExceptionHandling()
-
-
Method Details
-
handleThrowable
-
closeOnFlush
public static void closeOnFlush(io.netty.channel.Channel ch) Closes the specified channel after all queued write requests are flushed. -
connectionClosedException
returns true is the exception was caused by the connection being closed -
sslHandshakeException
-
connectionException
-