Home / Function/ checkThrowable() — netty Function Reference

checkThrowable() — netty Function Reference

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

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  7f96509c_c675_5924_328f_facada9c2606["checkThrowable()"]
  7c0e0e25_e115_ef04_bb8b_a0565a452d87["SocketShutdownOutputBySelfTest"]
  7f96509c_c675_5924_328f_facada9c2606 -->|defined in| 7c0e0e25_e115_ef04_bb8b_a0565a452d87
  ce9304b8_9e15_04d3_ce14_0c69c13eab18["testShutdownOutputAfterClosed()"]
  ce9304b8_9e15_04d3_ce14_0c69c13eab18 -->|calls| 7f96509c_c675_5924_328f_facada9c2606
  1893d378_a235_4131_0ae1_0d5498a415dc["testWriteAfterShutdownOutputNoWritabilityChange()"]
  1893d378_a235_4131_0ae1_0d5498a415dc -->|calls| 7f96509c_c675_5924_328f_facada9c2606
  style 7f96509c_c675_5924_328f_facada9c2606 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java lines 278–283

    private static void checkThrowable(Throwable cause) throws Throwable {
        // Depending on OIO / NIO both are ok
        if (!(cause instanceof ClosedChannelException) && !(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/SocketShutdownOutputBySelfTest.java.
Where is checkThrowable() defined?
checkThrowable() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketShutdownOutputBySelfTest.java at line 278.
What calls checkThrowable()?
checkThrowable() is called by 2 function(s): testShutdownOutputAfterClosed, testWriteAfterShutdownOutputNoWritabilityChange.

Analyze Your Own Codebase

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

Try Supermodel Free