Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  86816443_aade_eece_19a5_02b33154fb7a["exceptionCaught()"]
  e8b02344_55ca_b96d_1e76_3f1acf3d80c6["ChannelInitializer"]
  86816443_aade_eece_19a5_02b33154fb7a -->|defined in| e8b02344_55ca_b96d_1e76_3f1acf3d80c6
  5a672898_8ee2_8a02_cb4a_41c51216bcba["initChannel()"]
  5a672898_8ee2_8a02_cb4a_41c51216bcba -->|calls| 86816443_aade_eece_19a5_02b33154fb7a
  style 86816443_aade_eece_19a5_02b33154fb7a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/ChannelInitializer.java lines 93–99

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        if (logger.isWarnEnabled()) {
            logger.warn("Failed to initialize a channel. Closing: " + ctx.channel(), cause);
        }
        ctx.close();
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/ChannelInitializer.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in transport/src/main/java/io/netty/channel/ChannelInitializer.java at line 93.
What calls exceptionCaught()?
exceptionCaught() is called by 1 function(s): initChannel.

Analyze Your Own Codebase

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

Try Supermodel Free