public class CancelException extends Exception
CodecException for Netty's handler.| Modifier and Type | Field and Description |
|---|---|
static CancelException |
CACHED |
| Constructor and Description |
|---|
CancelException() |
CancelException(String message) |
CancelException(String message,
Throwable cause) |
CancelException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
CancelException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static CancelException |
generate()
Returns a cached CancelException or a new instance when
ViaManager.isDebug() is true. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final CancelException CACHED
public CancelException()
public CancelException(String message)
public CancelException(Throwable cause)
public static CancelException generate()
ViaManager.isDebug() is true.Copyright © 2016–2021. All rights reserved.