コード例 #1
0
 @Override
 public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
   if (cause instanceof ReadTimeoutException) {
     // channel is already closed here by ReadTimeoutHandler
   } else {
     super.exceptionCaught(ctx, cause);
   }
 }
コード例 #2
0
 @Override
 public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
   cause.printStackTrace();
   super.exceptionCaught(ctx, cause);
 }
コード例 #3
0
 @Override
 public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
   super.exceptionCaught(ctx, cause);
 }