Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c3d4de5a_dda3_0bd9_aa70_b9e5ec44b1ef["exceptionCaught()"]
  0106d702_a5aa_70a0_2d44_3e8c79971862["Http2StaticFileServerHandler"]
  c3d4de5a_dda3_0bd9_aa70_b9e5ec44b1ef -->|defined in| 0106d702_a5aa_70a0_2d44_3e8c79971862
  7601eca6_4386_67de_d63f_2e414c773a40["sendError()"]
  c3d4de5a_dda3_0bd9_aa70_b9e5ec44b1ef -->|calls| 7601eca6_4386_67de_d63f_2e414c773a40
  style c3d4de5a_dda3_0bd9_aa70_b9e5ec44b1ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http2/file/Http2StaticFileServerHandler.java lines 215–221

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
        cause.printStackTrace();
        if (ctx.channel().isActive()) {
            sendError(ctx, INTERNAL_SERVER_ERROR);
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/http2/file/Http2StaticFileServerHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in example/src/main/java/io/netty/example/http2/file/Http2StaticFileServerHandler.java at line 215.
What does exceptionCaught() call?
exceptionCaught() calls 1 function(s): sendError.

Analyze Your Own Codebase

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

Try Supermodel Free