[#5862] Http2EventAdapter#onUnknownFrame(...) should throw Http2Exception

Motivation:

Http2EventAdapter implements the Http2FrameListener interface but implements the #onUnknownFrame(...) method without the interface's throws Http2Exception.

Modifications:

Add throws Http2Exception.

Result:

More correct method signature.
This commit is contained in:
Norman Maurer 2016-09-26 06:48:58 +02:00
parent 789c9a53df
commit 3240e97420

View File

@ -82,7 +82,7 @@ public class Http2EventAdapter implements Http2Connection.Listener, Http2FrameLi
@Override
public void onUnknownFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags,
ByteBuf payload) {
ByteBuf payload) throws Http2Exception {
}
@Override