Package org.apache.mina.filter.codec
Class ProtocolDecoderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.mina.filter.codec.ProtocolCodecException
org.apache.mina.filter.codec.ProtocolDecoderException
- All Implemented Interfaces:
Serializable
An exception that is thrown when
ProtocolDecoder
cannot understand or failed to validate the specified ByteBuffer
content.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance.ProtocolDecoderException
(String message) Constructs a new instance with the specified message.ProtocolDecoderException
(String message, Throwable cause) Constructs a new instance with the specified message and the specified cause.Constructs a new instance with the specified cause. -
Method Summary
Modifier and TypeMethodDescriptionReturns the hexdump of the unknown message part.Returns the message and the hexdump of the unknown part.void
setHexdump
(String hexdump) Sets the hexdump of the unknown message part.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolDecoderException
public ProtocolDecoderException()Constructs a new instance. -
ProtocolDecoderException
Constructs a new instance with the specified message. -
ProtocolDecoderException
Constructs a new instance with the specified cause. -
ProtocolDecoderException
Constructs a new instance with the specified message and the specified cause.
-
-
Method Details
-
getMessage
Returns the message and the hexdump of the unknown part.- Overrides:
getMessage
in classThrowable
-
getHexdump
Returns the hexdump of the unknown message part. -
setHexdump
Sets the hexdump of the unknown message part.
-