Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  8cc8db80_1351_a29e_2e96_366cd0b6b11d["exceptionCaught()"]
  b08daeb8_d029_f274_63d8_545f80077e76["CheckExceptionHandler"]
  8cc8db80_1351_a29e_2e96_366cd0b6b11d -->|defined in| b08daeb8_d029_f274_63d8_545f80077e76
  8c52b958_e400_144f_b4f2_e60153ac0d1a["exceptionCaught()"]
  8c52b958_e400_144f_b4f2_e60153ac0d1a -->|calls| 8cc8db80_1351_a29e_2e96_366cd0b6b11d
  8c52b958_e400_144f_b4f2_e60153ac0d1a["exceptionCaught()"]
  8cc8db80_1351_a29e_2e96_366cd0b6b11d -->|calls| 8c52b958_e400_144f_b4f2_e60153ac0d1a
  style 8cc8db80_1351_a29e_2e96_366cd0b6b11d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java lines 2294–2301

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            if (cause instanceof ChannelPipelineException && cause.getCause() == expected) {
                promise.setSuccess(null);
            } else {
                promise.setFailure(new AssertionError("cause not the expected instance"));
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in transport/src/test/java/io/netty/channel/DefaultChannelPipelineTest.java at line 2294.
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