A special exception that tells the
ProtocolDecoder can keep
decoding even after this exception is thrown.
Once
ProtocolCodecFilter catches any other type of exception
than
RecoverableProtocolDecoderException , it stops calling
the
ProtocolDecoder.decode(IoSessionIoBufferProtocolDecoderOutput) immediately and fires an exceptionCaught event.
On the other hand, if
RecoverableProtocolDecoderException is thrown,
it doesn't stop immediately but keeps calling the
ProtocolDecoder as long as the position of the read buffer changes.
RecoverableProtocolDecoderException is useful for a robust
ProtocolDecoder that can continue decoding even after any
protocol violation.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 591178 $, $Date: 2007-11-01 18:48:24 -0600 (Thu, 01 Nov 2007) $ |