Home / Function/ checkThrowable() — netty Function Reference

checkThrowable() — netty Function Reference

Architecture documentation for the checkThrowable() function in SocketChannelNotYetConnectedTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1de65f73_5e60_9f27_4349_163e69130776["checkThrowable()"]
  f870305c_1df5_e1b8_f8dd_b59859696da0["SocketChannelNotYetConnectedTest"]
  1de65f73_5e60_9f27_4349_163e69130776 -->|defined in| f870305c_1df5_e1b8_f8dd_b59859696da0
  fb69054a_3ddd_d8df_fd57_3157f28a086f["testShutdownNotYetConnected()"]
  fb69054a_3ddd_d8df_fd57_3157f28a086f -->|calls| 1de65f73_5e60_9f27_4349_163e69130776
  style 1de65f73_5e60_9f27_4349_163e69130776 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketChannelNotYetConnectedTest.java lines 78–83

    private static void checkThrowable(Throwable cause) throws Throwable {
        // Depending on OIO / NIO both are ok
        if (!(cause instanceof NotYetConnectedException) && !(cause instanceof SocketException)) {
            throw cause;
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does checkThrowable() do?
checkThrowable() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketChannelNotYetConnectedTest.java.
Where is checkThrowable() defined?
checkThrowable() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketChannelNotYetConnectedTest.java at line 78.
What calls checkThrowable()?
checkThrowable() is called by 1 function(s): testShutdownNotYetConnected.

Analyze Your Own Codebase

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

Try Supermodel Free