Home / Function/ IOException() — netty Function Reference

IOException() — netty Function Reference

Architecture documentation for the IOException() function in Errors.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5075d112_701f_ac10_d707_06cde67a40a8["IOException()"]
  93a42678_e9fc_3a0e_6c3b_8f2b742961ed["Errors"]
  5075d112_701f_ac10_d707_06cde67a40a8 -->|defined in| 93a42678_e9fc_3a0e_6c3b_8f2b742961ed
  style 5075d112_701f_ac10_d707_06cde67a40a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java lines 156–167

    private static IOException newConnectException0(String method, int err) {
        if (err == ERROR_ENETUNREACH_NEGATIVE || err == ERROR_EHOSTUNREACH_NEGATIVE) {
            return new NoRouteToHostException();
        }
        if (err == ERROR_EISCONN_NEGATIVE) {
            throw new AlreadyConnectedException();
        }
        if (err == ERRNO_ENOENT_NEGATIVE) {
            return new FileNotFoundException();
        }
        return new ConnectException(method + "(..) failed with error(" + err + "): " + errnoString(-err));
    }

Domain

Subdomains

Frequently Asked Questions

What does IOException() do?
IOException() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java.
Where is IOException() defined?
IOException() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/Errors.java at line 156.

Analyze Your Own Codebase

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

Try Supermodel Free