@Override public final void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { logger.error("Exception caught, closing push channel for " + authEvent, cause); ctx.close(); super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { connectionErrors.increment(); if (LOG.isInfoEnabled()) { LOG.info("Connection error caught. " + String.valueOf(cause), cause); } super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { passport(ctx).add(PassportState.ORIGIN_CH_EXCEPTION); super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { try { if (cause instanceof Http2Exception) { incrementErrorCounter(registry, errorCounterName, metricId, (Http2Exception) cause); } } finally { super.exceptionCaught(ctx, cause); } } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { connectionEvents.fireEventRedisExceptionCaught(connection, cause); super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { passport(ctx).add(PassportState.SERVER_CH_EXCEPTION); if (cause instanceof Errors.NativeIoException) { LOG.debug("PassportStateServerHandler Inbound NativeIoException " + cause); incrementExceptionCounter(cause, "PassportStateServerHandler.Inbound"); } else { super.exceptionCaught(ctx, cause); } }
@Override public final void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { logger.error("Exception caught, closing push channel for " + authEvent, cause); ctx.close(); super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (cause instanceof StreamException) { StreamException streamEx = (StreamException) cause; ctx.writeAndFlush(new DefaultHttp2ResetFrame(streamEx.error())); } else if (cause instanceof DecoderException) { ctx.writeAndFlush(new DefaultHttp2ResetFrame(Http2Error.PROTOCOL_ERROR)); } else { super.exceptionCaught(ctx, cause); } } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { try { if (cause instanceof Http2Exception) { incrementErrorCounter(registry, errorCounterName, metricId, (Http2Exception) cause); } } finally { super.exceptionCaught(ctx, cause); } } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { passport(ctx).add(PassportState.ORIGIN_CH_EXCEPTION); super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { connectionErrors.increment(); if (LOG.isInfoEnabled()) { LOG.info("Connection error caught. " + String.valueOf(cause), cause); } super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { passport(ctx).add(PassportState.SERVER_CH_EXCEPTION); if (cause instanceof Errors.NativeIoException) { LOG.debug("PassportStateServerHandler Inbound NativeIoException " + cause); incrementExceptionCounter(cause, "PassportStateServerHandler.Inbound"); } else { super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (cause instanceof StreamException) { StreamException streamEx = (StreamException) cause; ctx.writeAndFlush(new DefaultHttp2ResetFrame(streamEx.error())); } else if (cause instanceof DecoderException) { ctx.writeAndFlush(new DefaultHttp2ResetFrame(Http2Error.PROTOCOL_ERROR)); } else { super.exceptionCaught(ctx, cause); } } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { LOGGER.log(Level.SEVERE, "Error handling request", cause); ctx.close(); super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (inner == null) { super.exceptionCaught(ctx, cause); } else { inner.exceptionCaught(ctx, cause); } }
@Override public final void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { logger.error("Exception caught, closing push channel for " + authEvent, cause); ctx.close(); super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (cause instanceof CorruptedFrameException && ctx.channel().isOpen()) { ctx.writeAndFlush(Unpooled.EMPTY_BUFFER).addListener(ChannelFutureListener.CLOSE); } super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { connectionErrors.increment(); if (LOG.isInfoEnabled()) { LOG.info("Connection error caught. " + String.valueOf(cause), cause); } super.exceptionCaught(ctx, cause); }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { passport(ctx).add(PassportState.ORIGIN_CH_EXCEPTION); super.exceptionCaught(ctx, cause); } }
@Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception { if (interceptor != null) { interceptor.exceptionCaught(cause); } super.exceptionCaught(ctx, cause); }