org.apache.mina.filter.codec

Class ProtocolCodecException

Known Direct Subclasses:
ProtocolDecoderException, ProtocolEncoderException

public class ProtocolCodecException
extends Exception

An exception that is thrown when ProtocolEncoder or ProtocolDecoder cannot understand or failed to validate data to process.

Constructor Summary

ProtocolCodecException()
Constructs 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.

Constructor Details

ProtocolCodecException

public ProtocolCodecException()
Constructs a new instance.

ProtocolCodecException

public ProtocolCodecException(String message)
Constructs a new instance with the specified message.

ProtocolCodecException

public ProtocolCodecException(String message,
                              Throwable cause)
Constructs a new instance with the specified message and the specified cause.

ProtocolCodecException

public ProtocolCodecException(Throwable cause)
Constructs a new instance with the specified cause.