Throwable() — netty Function Reference
Architecture documentation for the Throwable() function in AbstractChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1287e883_bf6f_2648_8f07_89d195905850["Throwable()"] 330d05c9_85ca_2e57_92f5_e996fb442b81["AbstractUnsafe"] 1287e883_bf6f_2648_8f07_89d195905850 -->|defined in| 330d05c9_85ca_2e57_92f5_e996fb442b81 0c9f9fba_f98c_424a_c366_72b858191031["AnnotatedConnectException()"] 1287e883_bf6f_2648_8f07_89d195905850 -->|calls| 0c9f9fba_f98c_424a_c366_72b858191031 592e02f1_647f_62b7_b654_0540f0212270["AnnotatedNoRouteToHostException()"] 1287e883_bf6f_2648_8f07_89d195905850 -->|calls| 592e02f1_647f_62b7_b654_0540f0212270 b7907c8a_49fd_0514_4a6e_8060bfa5c9a8["AnnotatedSocketException()"] 1287e883_bf6f_2648_8f07_89d195905850 -->|calls| b7907c8a_49fd_0514_4a6e_8060bfa5c9a8 style 1287e883_bf6f_2648_8f07_89d195905850 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/AbstractChannel.java lines 896–908
protected final Throwable annotateConnectException(Throwable cause, SocketAddress remoteAddress) {
if (cause instanceof ConnectException) {
return new AnnotatedConnectException((ConnectException) cause, remoteAddress);
}
if (cause instanceof NoRouteToHostException) {
return new AnnotatedNoRouteToHostException((NoRouteToHostException) cause, remoteAddress);
}
if (cause instanceof SocketException) {
return new AnnotatedSocketException((SocketException) cause, remoteAddress);
}
return cause;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Throwable() do?
Throwable() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannel.java.
Where is Throwable() defined?
Throwable() is defined in transport/src/main/java/io/netty/channel/AbstractChannel.java at line 896.
What does Throwable() call?
Throwable() calls 3 function(s): AnnotatedConnectException, AnnotatedNoRouteToHostException, AnnotatedSocketException.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free