MCPcopy Create free account
hub / github.com/chenshuo/muduo / exceptionCaught

Method exceptionCaught

examples/filetransfer/loadtest/Handler.java:60–67  ·  view source on GitHub ↗
(ChannelHandlerContext ctx, ExceptionEvent e)

Source from the content-addressed store, hash-verified

58 }
59
60 @Override
61 public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
62 e.getCause().printStackTrace();
63
64 Channel ch = e.getChannel();
65 ch.close();
66 latch.countDown();
67 }
68}

Callers

nothing calls this directly

Calls 3

getChannelMethod · 0.80
countDownMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected