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(java.lang.String message) |
CancelDecoderException(java.lang.String message,
java.lang.Throwable cause) |
CancelDecoderException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static CancelDecoderException |
generate(java.lang.Throwable cause)
Returns a cached CancelDecoderException or a new instance when
ViaManager.isDebug() is true. |
public static final CancelDecoderException CACHED
public CancelDecoderException()
public CancelDecoderException(java.lang.String message, java.lang.Throwable cause)
public CancelDecoderException(java.lang.String message)
public CancelDecoderException(java.lang.Throwable cause)
public static CancelDecoderException generate(java.lang.Throwable cause)
ViaManager.isDebug()
is true.cause
- cause for being used when a new instance is creeated