Home / Function/ fail() — netty Function Reference

fail() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f3fe86a1_f0ab_270a_0b10_e07d0e101b14["fail()"]
  21c2e1f6_8657_6435_51ab_f4e11ef47496["Socks5PasswordAuthRequestDecoder"]
  f3fe86a1_f0ab_270a_0b10_e07d0e101b14 -->|defined in| 21c2e1f6_8657_6435_51ab_f4e11ef47496
  8981ae6c_c758_e5be_9bd7_dcf9c6ceab28["decode()"]
  8981ae6c_c758_e5be_9bd7_dcf9c6ceab28 -->|calls| f3fe86a1_f0ab_270a_0b10_e07d0e101b14
  style f3fe86a1_f0ab_270a_0b10_e07d0e101b14 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

        checkpoint(State.FAILURE);

        Socks5Message m = new DefaultSocks5PasswordAuthRequest("", "");
        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/Socks5PasswordAuthRequestDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PasswordAuthRequestDecoder.java at line 88.
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