public class CancelDecoderException extends io.netty.handler.codec.DecoderException implements CancelCodecException
DecoderException to prevent netty from wrapping the exception.| Modifier and Type | Field and Description |
|---|---|
static CancelDecoderException |
CACHED |
| Constructor and Description |
|---|
CancelDecoderException() |
CancelDecoderException(String message) |
CancelDecoderException(String message,
Throwable cause) |
CancelDecoderException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static CancelDecoderException |
generate(Throwable cause)
Returns a cached CancelDecoderException or a new instance when
ViaManager.isDebug() is true. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final CancelDecoderException CACHED
public CancelDecoderException()
public CancelDecoderException(String message)
public CancelDecoderException(Throwable cause)
public static CancelDecoderException generate(Throwable cause)
ViaManager.isDebug() is true.cause - cause for being used when a new instance is creeatedCopyright © 2016–2021. All rights reserved.