public class ExceptionHandling extends Object
| Constructor and Description | 
|---|
ExceptionHandling()  | 
| 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 | 
connectionClosedException(Throwable throwable)
returns true is the exception was caused by the connection being closed 
 | 
static boolean | 
connectionException(Throwable throwable)  | 
static boolean | 
sslHandshakeException(Throwable throwable)  | 
static void | 
swallowThrowable(Runnable runnable)  | 
public static void swallowThrowable(Runnable runnable)
public static void closeOnFlush(io.netty.channel.Channel ch)
public static boolean connectionClosedException(Throwable throwable)
public static boolean sslHandshakeException(Throwable throwable)
public static boolean connectionException(Throwable throwable)
Copyright © 2022. All rights reserved.