Home / Function/ rethrowHandlerExceptions() — netty Function Reference

rethrowHandlerExceptions() — netty Function Reference

Architecture documentation for the rethrowHandlerExceptions() function in SocketSslSessionReuseTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e08e7362_dcfa_4a06_449b_f3a03c694e30["rethrowHandlerExceptions()"]
  833479b7_a1b1_3c02_8b20_02d1937b1c41["SocketSslSessionReuseTest"]
  e08e7362_dcfa_4a06_449b_f3a03c694e30 -->|defined in| 833479b7_a1b1_3c02_8b20_02d1937b1c41
  3dfa3b91_4810_54f7_0f98_7be1c3c2bd16["testSslSessionReuse()"]
  3dfa3b91_4810_54f7_0f98_7be1c3c2bd16 -->|calls| e08e7362_dcfa_4a06_449b_f3a03c694e30
  13e35bed_4bc6_10f5_7d5a_38c7f6a201a9["testSslSessionTrustManagerResumption()"]
  13e35bed_4bc6_10f5_7d5a_38c7f6a201a9 -->|calls| e08e7362_dcfa_4a06_449b_f3a03c694e30
  style e08e7362_dcfa_4a06_449b_f3a03c694e30 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java lines 263–276

    private static void rethrowHandlerExceptions(ReadAndDiscardHandler sh, ReadAndDiscardHandler ch) throws Throwable {
        if (sh.exception.get() != null && !(sh.exception.get() instanceof IOException)) {
            throw new ExecutionException(sh.exception.get());
        }
        if (ch.exception.get() != null && !(ch.exception.get() instanceof IOException)) {
            throw new ExecutionException(ch.exception.get());
        }
        if (sh.exception.get() != null) {
            throw new ExecutionException(sh.exception.get());
        }
        if (ch.exception.get() != null) {
            throw new ExecutionException(ch.exception.get());
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does rethrowHandlerExceptions() do?
rethrowHandlerExceptions() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java.
Where is rethrowHandlerExceptions() defined?
rethrowHandlerExceptions() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslSessionReuseTest.java at line 263.
What calls rethrowHandlerExceptions()?
rethrowHandlerExceptions() is called by 2 function(s): testSslSessionReuse, testSslSessionTrustManagerResumption.

Analyze Your Own Codebase

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

Try Supermodel Free