testOptionGetThrowsChannelException() — netty Function Reference
Architecture documentation for the testOptionGetThrowsChannelException() function in EpollChannelConfigTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8427443d_ca1f_5f07_a17c_821ec5978bdb["testOptionGetThrowsChannelException()"] 7543ebba_fcb9_7965_bc72_f8525a811eb2["EpollChannelConfigTest"] 8427443d_ca1f_5f07_a17c_821ec5978bdb -->|defined in| 7543ebba_fcb9_7965_bc72_f8525a811eb2 style 8427443d_ca1f_5f07_a17c_821ec5978bdb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java lines 34–46
@Test
public void testOptionGetThrowsChannelException() throws Exception {
Epoll.ensureAvailability();
EpollSocketChannel channel = new EpollSocketChannel();
channel.config().getSoLinger();
channel.fd().close();
try {
channel.config().getSoLinger();
fail();
} catch (ChannelException e) {
// expected
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testOptionGetThrowsChannelException() do?
testOptionGetThrowsChannelException() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java.
Where is testOptionGetThrowsChannelException() defined?
testOptionGetThrowsChannelException() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollChannelConfigTest.java at line 34.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free