Home / Function/ testOptionGetThrowsChannelException() — netty Function Reference

testOptionGetThrowsChannelException() — netty Function Reference

Architecture documentation for the testOptionGetThrowsChannelException() function in KQueueChannelConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0be4fd0d_60e8_eae9_7cd7_e6adcc3b53c6["testOptionGetThrowsChannelException()"]
  f5c650c9_a464_cc61_c859_bf9e0f794480["KQueueChannelConfigTest"]
  0be4fd0d_60e8_eae9_7cd7_e6adcc3b53c6 -->|defined in| f5c650c9_a464_cc61_c859_bf9e0f794480
  style 0be4fd0d_60e8_eae9_7cd7_e6adcc3b53c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java lines 45–56

    @Test
    public void testOptionGetThrowsChannelException() throws Exception {
        KQueueSocketChannel channel = new KQueueSocketChannel();
        channel.config().getSoLinger();
        channel.fd().close();
        try {
            channel.config().getSoLinger();
            fail();
        } catch (ChannelException e) {
            // expected
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does testOptionGetThrowsChannelException() do?
testOptionGetThrowsChannelException() is a function in the netty codebase, defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java.
Where is testOptionGetThrowsChannelException() defined?
testOptionGetThrowsChannelException() is defined in transport-native-kqueue/src/test/java/io/netty/channel/kqueue/KQueueChannelConfigTest.java at line 45.

Analyze Your Own Codebase

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

Try Supermodel Free