148149150151152153154155156
ChannelHandlerContext ctx, ExceptionEvent e) throws Exception { ctx.sendUpstream(e); if (!finished) { e.getChannel().close(); futureQueue.offer(new FailedChannelFuture(e.getChannel(), e.getCause())); finished = true; } }
149150151152153154155156157
PipeContext<ChannelEvent> ctx, ExceptionEvent e) throws Exception { ctx.sendUpstream(e); if (!finished) { e.getChannel().close(); futureQueue.offer(new FailedChannelFuture(e.getChannel(), e.getCause())); finished = true; } }