Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9cef9c21_6ba3_7d89_c1a2_b28bf813f329["exceptionCaught()"]
  3749a47f_5fb1_e195_228f_ad68473b86f5["EchoHandler"]
  9cef9c21_6ba3_7d89_c1a2_b28bf813f329 -->|defined in| 3749a47f_5fb1_e195_228f_ad68473b86f5
  dff7703c_2c14_b3fa_56b1_2ca87c60f4fe["testSimpleEcho0()"]
  dff7703c_2c14_b3fa_56b1_2ca87c60f4fe -->|calls| 9cef9c21_6ba3_7d89_c1a2_b28bf813f329
  style 9cef9c21_6ba3_7d89_c1a2_b28bf813f329 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketEchoTest.java lines 303–310

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx,
                Throwable cause) throws Exception {
            if (exception.compareAndSet(null, cause)) {
                cause.printStackTrace();
                ctx.close();
            }
        }

Domain

Subdomains

Called By

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/SocketEchoTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketEchoTest.java at line 303.
What calls exceptionCaught()?
exceptionCaught() is called by 1 function(s): testSimpleEcho0.

Analyze Your Own Codebase

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

Try Supermodel Free