Home / Function/ fail() — netty Function Reference

fail() — netty Function Reference

Architecture documentation for the fail() function in Socks5PasswordAuthResponseDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  612e78d9_7c69_f5ec_0a3e_c669e9ccd6ee["fail()"]
  687ba40c_a71c_d4c6_22c5_eee31c2f27b5["Socks5PasswordAuthResponseDecoder"]
  612e78d9_7c69_f5ec_0a3e_c669e9ccd6ee -->|defined in| 687ba40c_a71c_d4c6_22c5_eee31c2f27b5
  a7a929a6_3a60_1d5b_e630_f82adb27c24a["decode()"]
  a7a929a6_3a60_1d5b_e630_f82adb27c24a -->|calls| 612e78d9_7c69_f5ec_0a3e_c669e9ccd6ee
  style 612e78d9_7c69_f5ec_0a3e_c669e9ccd6ee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoder.java lines 78–88

    private void fail(List<Object> out, Exception cause) {
        if (!(cause instanceof DecoderException)) {
            cause = new DecoderException(cause);
        }

        checkpoint(State.FAILURE);

        Socks5Message m = new DefaultSocks5PasswordAuthResponse(Socks5PasswordAuthStatus.FAILURE);
        m.setDecoderResult(DecoderResult.failure(cause));
        out.add(m);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does fail() do?
fail() is a function in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthResponseDecoder.java at line 78.
What calls fail()?
fail() is called by 1 function(s): decode.

Analyze Your Own Codebase

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

Try Supermodel Free