Home / Function/ checkForException() — netty Function Reference

checkForException() — netty Function Reference

Architecture documentation for the checkForException() function in QuicChannelEchoTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d03da1b0_2a83_47ce_bc9b_48796be3e619["checkForException()"]
  949dbf36_222b_a1d5_95aa_68ae528fcaf5["QuicChannelEchoTest"]
  d03da1b0_2a83_47ce_bc9b_48796be3e619 -->|defined in| 949dbf36_222b_a1d5_95aa_68ae528fcaf5
  b6b62dd4_732e_55a3_c880_96407c90f51b["testEchoStartedFromServer()"]
  b6b62dd4_732e_55a3_c880_96407c90f51b -->|calls| d03da1b0_2a83_47ce_bc9b_48796be3e619
  517fed06_cd16_bd40_97ea_e48339ad0706["testEchoStartedFromClient()"]
  517fed06_cd16_bd40_97ea_e48339ad0706 -->|calls| d03da1b0_2a83_47ce_bc9b_48796be3e619
  style d03da1b0_2a83_47ce_bc9b_48796be3e619 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java lines 350–363

    private static void checkForException(EchoHandler h1, EchoHandler h2) throws Throwable {
        if (h1.exception.get() != null && !(h1.exception.get() instanceof IOException)) {
            throw h1.exception.get();
        }
        if (h2.exception.get() != null && !(h2.exception.get() instanceof IOException)) {
            throw h2.exception.get();
        }
        if (h1.exception.get() != null) {
            throw h1.exception.get();
        }
        if (h2.exception.get() != null) {
            throw h2.exception.get();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkForException() do?
checkForException() is a function in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java.
Where is checkForException() defined?
checkForException() is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/QuicChannelEchoTest.java at line 350.
What calls checkForException()?
checkForException() is called by 2 function(s): testEchoStartedFromClient, testEchoStartedFromServer.

Analyze Your Own Codebase

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

Try Supermodel Free