Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

Architecture documentation for the exceptionCaught() function in SocketExceptionHandlingTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  77ee14d0_10f6_6cc7_f404_fd7fb988e93f["exceptionCaught()"]
  55df77ee_4db0_d9c6_b8cf_d54ae19a00d3["ExceptionHandler"]
  77ee14d0_10f6_6cc7_f404_fd7fb988e93f -->|defined in| 55df77ee_4db0_d9c6_b8cf_d54ae19a00d3
  style 77ee14d0_10f6_6cc7_f404_fd7fb988e93f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java lines 108–117

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            if (count.incrementAndGet() <= 2) {
                latch1.countDown();
            } else {
                latch2.countDown();
            }
            // This should not throw any exception.
            ctx.close();
        }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketExceptionHandlingTest.java at line 108.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free