public class ExceptionHandler extends Object
Constructor and Description |
---|
ExceptionHandler() |
Modifier and Type | Method and 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
|
public static void closeOnFlush(io.netty.channel.Channel ch)
public static boolean shouldNotIgnoreException(Throwable cause)
Copyright © 2018. All rights reserved.