Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Function java Buffer Telemetry calls 2 called by 5

Entity Profile

Dependency Diagram

graph TD
  9f0d148d_19fe_6f26_b8b9_17ac45fb4050["exceptionCaught()"]
  a8155a97_c3e1_5a97_3f5c_f598bd3af9fe["AutoCloseFalseFollower"]
  9f0d148d_19fe_6f26_b8b9_17ac45fb4050 -->|defined in| a8155a97_c3e1_5a97_3f5c_f598bd3af9fe
  1b353293_269e_5350_bac6_ca825553573d["exceptionCaught()"]
  1b353293_269e_5350_bac6_ca825553573d -->|calls| 9f0d148d_19fe_6f26_b8b9_17ac45fb4050
  0257caf2_49bb_c678_4b3a_f599308c0f78["allDataReadEventTriggeredAfterHalfClosure()"]
  0257caf2_49bb_c678_4b3a_f599308c0f78 -->|calls| 9f0d148d_19fe_6f26_b8b9_17ac45fb4050
  71714971_050a_f2f7_0fcc_c7f3afe1077f["testHalfClosureOnlyOneEventWhenAutoRead()"]
  71714971_050a_f2f7_0fcc_c7f3afe1077f -->|calls| 9f0d148d_19fe_6f26_b8b9_17ac45fb4050
  400c4529_5b5e_12a2_fbf3_476c13dd093d["testAllDataReadAfterHalfClosure()"]
  400c4529_5b5e_12a2_fbf3_476c13dd093d -->|calls| 9f0d148d_19fe_6f26_b8b9_17ac45fb4050
  4a2ffbbc_84a4_f186_7637_0f13afdf125d["testAllDataReadClosure()"]
  4a2ffbbc_84a4_f186_7637_0f13afdf125d -->|calls| 9f0d148d_19fe_6f26_b8b9_17ac45fb4050
  1b353293_269e_5350_bac6_ca825553573d["exceptionCaught()"]
  9f0d148d_19fe_6f26_b8b9_17ac45fb4050 -->|calls| 1b353293_269e_5350_bac6_ca825553573d
  9158c171_4fc5_0e4a_4e16_c1f816313ca6["checkPrematureClose()"]
  9f0d148d_19fe_6f26_b8b9_17ac45fb4050 -->|calls| 9158c171_4fc5_0e4a_4e16_c1f816313ca6
  style 9f0d148d_19fe_6f26_b8b9_17ac45fb4050 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketHalfClosedTest.java lines 566–570

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
            ctx.close();
            checkPrematureClose();
        }

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/SocketHalfClosedTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketHalfClosedTest.java at line 566.
What does exceptionCaught() call?
exceptionCaught() calls 2 function(s): checkPrematureClose, exceptionCaught.
What calls exceptionCaught()?
exceptionCaught() is called by 5 function(s): allDataReadEventTriggeredAfterHalfClosure, exceptionCaught, testAllDataReadAfterHalfClosure, testAllDataReadClosure, testHalfClosureOnlyOneEventWhenAutoRead.

Analyze Your Own Codebase

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

Try Supermodel Free