Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  aee9bb4c_cfe3_2c43_6afd_034b46bbd060["exceptionCaught()"]
  02ca82d7_508c_aabe_bb4d_dd1603c38b01["HttpStaticFileServerHandler"]
  aee9bb4c_cfe3_2c43_6afd_034b46bbd060 -->|defined in| 02ca82d7_508c_aabe_bb4d_dd1603c38b01
  e8aaebf5_6ec4_adec_aa31_f32cf1d41e60["sendError()"]
  aee9bb4c_cfe3_2c43_6afd_034b46bbd060 -->|calls| e8aaebf5_6ec4_adec_aa31_f32cf1d41e60
  style aee9bb4c_cfe3_2c43_6afd_034b46bbd060 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java lines 234–240

    @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/http/file/HttpStaticFileServerHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in example/src/main/java/io/netty/example/http/file/HttpStaticFileServerHandler.java at line 234.
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