Only some javadoc

This commit is contained in:
Norman Maurer 2012-05-14 21:21:52 +02:00
parent 94a5f3dbc7
commit ab1cf37f7c

View File

@ -99,6 +99,9 @@ public class MarshallingDecoder extends ReplayingDecoder<VoidEnum> {
return decoded;
}
/**
* Calls {@link Channel#close()} if a TooLongFrameException was thrown
*/
@Override
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
if (e.getCause() instanceof TooLongFrameException) {