fail() — netty Function Reference
Architecture documentation for the fail() function in Socks5PrivateAuthResponseDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a75059f8_bc15_8624_6822_b4c350cb3525["fail()"] 1eb0d1c8_4306_0987_abef_474fe9a99790["Socks5PrivateAuthResponseDecoder"] a75059f8_bc15_8624_6822_b4c350cb3525 -->|defined in| 1eb0d1c8_4306_0987_abef_474fe9a99790 ab7dfc3f_38ae_2242_0527_ac688ded9e73["decode()"] ab7dfc3f_38ae_2242_0527_ac688ded9e73 -->|calls| a75059f8_bc15_8624_6822_b4c350cb3525 style a75059f8_bc15_8624_6822_b4c350cb3525 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PrivateAuthResponseDecoder.java lines 114–124
private void fail(List<Object> out, Exception cause) {
if (!(cause instanceof DecoderException)) {
cause = new DecoderException(cause);
}
state = State.FAILURE;
Socks5Message m = new DefaultSocks5PrivateAuthResponse(Socks5PrivateAuthStatus.FAILURE);
m.setDecoderResult(DecoderResult.failure(cause));
out.add(m);
}
Domain
Subdomains
Defined In
Called By
Source
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/Socks5PrivateAuthResponseDecoder.java.
Where is fail() defined?
fail() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/Socks5PrivateAuthResponseDecoder.java at line 114.
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