Mark ChannelHandler.exceptionCaught implementation deprecated to fix warning

This just propagates the deprecated annotation from ChannelHandler. Note
that exceptionCaught is _not_ deprecated for ChannelInboundHandler and
ChannelDuplexHandler.
This commit is contained in:
Eric Anderson 2016-02-01 10:54:57 -08:00
parent a3c79e87ae
commit 7e3d0fe9cc
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ public final class ProtocolNegotiators {
}
@Override
@Deprecated
public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
// Should never happen.
ctx.fireExceptionCaught(cause);