Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  95e2723c_5787_0f0f_2e8f_0aea1fb6330f["exceptionCaught()"]
  7e6cf114_b36a_90aa_093d_d8e5d1c3e413["ClientHandler"]
  95e2723c_5787_0f0f_2e8f_0aea1fb6330f -->|defined in| 7e6cf114_b36a_90aa_093d_d8e5d1c3e413
  01ef637b_bff4_995e_0f39_6616a588b6f2["exceptionCaught()"]
  01ef637b_bff4_995e_0f39_6616a588b6f2 -->|calls| 95e2723c_5787_0f0f_2e8f_0aea1fb6330f
  01ef637b_bff4_995e_0f39_6616a588b6f2["exceptionCaught()"]
  95e2723c_5787_0f0f_2e8f_0aea1fb6330f -->|calls| 01ef637b_bff4_995e_0f39_6616a588b6f2
  style 95e2723c_5787_0f0f_2e8f_0aea1fb6330f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java lines 500–507

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            if (exception.compareAndSet(null, cause)) {
                cause.printStackTrace();
                promise.setFailure(cause);
                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/TrafficShapingHandlerTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/TrafficShapingHandlerTest.java at line 500.
What does exceptionCaught() call?
exceptionCaught() calls 1 function(s): exceptionCaught.
What calls exceptionCaught()?
exceptionCaught() is called by 1 function(s): exceptionCaught.

Analyze Your Own Codebase

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

Try Supermodel Free