Netty: make exceptionCaught method protected

The exceptionCaught method had default access, which imposes a requirement
for subclasses that need to override this method to be in a specific package. This
change simply makes the method protected, which removes the package requirement.
This commit is contained in:
jaymode 2015-04-07 12:22:10 -04:00
parent 22472b7b57
commit 1edf883bae
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ public class NettyTransport extends AbstractLifecycleComponent<Transport> implem
return this.boundAddress;
}
void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
protected void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
if (!lifecycle.started()) {
// ignore
return;