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