Home / Function/ fail() — netty Function Reference

fail() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  95528e6d_620a_0dd2_5d13_e3be7eee7c28["fail()"]
  6b9f8608_de9b_43e5_4557_9bcfe906f178["Socks5PrivateAuthRequestDecoder"]
  95528e6d_620a_0dd2_5d13_e3be7eee7c28 -->|defined in| 6b9f8608_de9b_43e5_4557_9bcfe906f178
  85085e10_d562_1c92_11bc_28add682c167["decode()"]
  85085e10_d562_1c92_11bc_28add682c167 -->|calls| 95528e6d_620a_0dd2_5d13_e3be7eee7c28
  style 95528e6d_620a_0dd2_5d13_e3be7eee7c28 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PrivateAuthRequestDecoder.java lines 82–93

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

        decoded = true;

        Socks5Message m = new
            DefaultSocks5PrivateAuthRequest(EmptyArrays.EMPTY_BYTES);
        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/Socks5PrivateAuthRequestDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PrivateAuthRequestDecoder.java at line 82.
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