Class DecoderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.handler.codec.CodecException
io.netty.handler.codec.DecoderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContentLengthNotAllowedException, CorruptedFrameException, DecompressionException, HAProxyProtocolException, HttpPostRequestDecoder.EndOfDataDecoderException, HttpPostRequestDecoder.ErrorDataDecoderException, HttpPostRequestDecoder.NotEnoughDataDecoderException, HttpPostRequestDecoder.TooLongFormFieldException, HttpPostRequestDecoder.TooManyFormFieldsException, InvalidLineSeparatorException, MqttIdentifierRejectedException, MqttUnacceptableProtocolVersionException, TooLongFrameException, TransferEncodingNotAllowedException
An
CodecException which is thrown by a decoder.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreates a new instance.DecoderException(String message) Creates a new instance.DecoderException(String message, Throwable cause) Creates a new instance.protectedDecoderException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with the given suppression and stack trace settings, seeRuntimeException(String, Throwable, boolean, boolean).DecoderException(Throwable cause) Creates a new instance. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DecoderException
public DecoderException()Creates a new instance. -
DecoderException
-
DecoderException
Creates a new instance. -
DecoderException
Creates a new instance. -
DecoderException
protected DecoderException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with the given suppression and stack trace settings, seeRuntimeException(String, Throwable, boolean, boolean).This constructor requires Java 7+ and must only be invoked after checking
PlatformDependent.javaVersion() >= 7.
-