Fixed exception handling to call the exceptionCaught method in the current handler. By default the handler will call ctx.fireExceptionCaught which is what was happening before.

This commit is contained in:
Mike Heath 2012-11-19 23:11:08 -07:00 committed by Norman Maurer
parent 4107b08f29
commit 40e53b9b68

View File

@ -63,7 +63,7 @@ public abstract class ChannelInboundMessageHandlerAdapter<I>
}
messageReceived(ctx, (I) msg);
} catch (Throwable t) {
ctx.fireExceptionCaught(t);
exceptionCaught(ctx, t);
}
}
} finally {