Package org.mockserver.exception
Class ExceptionHandler
- java.lang.Object
-
- org.mockserver.exception.ExceptionHandler
-
public class ExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description ExceptionHandler()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
closeOnFlush(io.netty.channel.Channel ch)
Closes the specified channel after all queued write requests are flushed.static boolean
shouldNotIgnoreException(Throwable cause)
returns true is the exception was caused by the connection being closed
-
-
-
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
-
-