Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  e4d5e3a2_6235_39df_6e8f_3d883417d53a["exceptionCaught()"]
  1c5dce54_31ca_7190_cffb_6ff2f4fa4141["SctpEchoServerHandler"]
  e4d5e3a2_6235_39df_6e8f_3d883417d53a -->|defined in| 1c5dce54_31ca_7190_cffb_6ff2f4fa4141
  style e4d5e3a2_6235_39df_6e8f_3d883417d53a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

example/src/main/java/io/netty/example/sctp/SctpEchoServerHandler.java lines 38–43

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
        // Close the connection when an exception is raised.
        cause.printStackTrace();
        ctx.close();
    }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in example/src/main/java/io/netty/example/sctp/SctpEchoServerHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in example/src/main/java/io/netty/example/sctp/SctpEchoServerHandler.java at line 38.

Analyze Your Own Codebase

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

Try Supermodel Free