Package org.apache.mina.filter.codec
Class ProtocolEncoderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.mina.filter.codec.ProtocolCodecException
-
- org.apache.mina.filter.codec.ProtocolEncoderException
-
- All Implemented Interfaces:
Serializable
public class ProtocolEncoderException extends ProtocolCodecException
An exception that is thrown whenProtocolEncoder
cannot understand or failed to validate the specified message object.- Author:
- Apache MINA Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProtocolEncoderException()
Constructs a new instance.ProtocolEncoderException(String message)
Constructs a new instance with the specified message.ProtocolEncoderException(String message, Throwable cause)
Constructs a new instance with the specified message and the specified cause.ProtocolEncoderException(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 Detail
-
ProtocolEncoderException
public ProtocolEncoderException()
Constructs a new instance.
-
ProtocolEncoderException
public ProtocolEncoderException(String message)
Constructs a new instance with the specified message.- Parameters:
message
- The detail message
-
ProtocolEncoderException
public ProtocolEncoderException(Throwable cause)
Constructs a new instance with the specified cause.- Parameters:
cause
- The Exception's cause
-
-