Package org.apache.mina.filter.codec
Class ProtocolCodecException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.mina.filter.codec.ProtocolCodecException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ProtocolDecoderException
,ProtocolEncoderException
An exception that is thrown when
ProtocolEncoder
or
ProtocolDecoder
cannot understand or failed to validate
data to process.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance.ProtocolCodecException
(String message) Constructs a new instance with the specified message.ProtocolCodecException
(String message, Throwable cause) Constructs a new instance with the specified message and the specified cause.ProtocolCodecException
(Throwable cause) Constructs a new instance with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProtocolCodecException
public ProtocolCodecException()Constructs a new instance. -
ProtocolCodecException
Constructs a new instance with the specified message. -
ProtocolCodecException
Constructs a new instance with the specified cause. -
ProtocolCodecException
Constructs a new instance with the specified message and the specified cause.
-