Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a6ddd10f_2df2_9471_2a86_9083887a9ee6["exceptionCaught()"]
  f85a4b1a_55ed_4666_acfd_439f0c3341dc["CompatibleMarshallingDecoder"]
  a6ddd10f_2df2_9471_2a86_9083887a9ee6 -->|defined in| f85a4b1a_55ed_4666_acfd_439f0c3341dc
  style a6ddd10f_2df2_9471_2a86_9083887a9ee6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java lines 101–108

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        if (cause instanceof TooLongFrameException) {
            ctx.close();
        } else {
            super.exceptionCaught(ctx, cause);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in codec-marshalling/src/main/java/io/netty/handler/codec/marshalling/CompatibleMarshallingDecoder.java at line 101.

Analyze Your Own Codebase

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

Try Supermodel Free