Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

Architecture documentation for the exceptionCaught() function in ProxyHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  377adf76_fd63_1eae_a710_4f6de9ec8f9d["exceptionCaught()"]
  3f5c9c39_cf82_6deb_e43b_1a9ad5499a99["ProxyHandler"]
  377adf76_fd63_1eae_a710_4f6de9ec8f9d -->|defined in| 3f5c9c39_cf82_6deb_e43b_1a9ad5499a99
  e5452aa5_fc3e_4478_6f1c_39e017cd9292["setConnectFailure()"]
  377adf76_fd63_1eae_a710_4f6de9ec8f9d -->|calls| e5452aa5_fc3e_4478_6f1c_39e017cd9292
  style 377adf76_fd63_1eae_a710_4f6de9ec8f9d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java lines 236–244

    @Override
    public final void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        if (finished) {
            ctx.fireExceptionCaught(cause);
        } else {
            // Exception was raised before the connection attempt is finished.
            setConnectFailure(cause);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in handler-proxy/src/main/java/io/netty/handler/proxy/ProxyHandler.java at line 236.
What does exceptionCaught() call?
exceptionCaught() calls 1 function(s): setConnectFailure.

Analyze Your Own Codebase

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

Try Supermodel Free