Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  bf36d495_1b20_f493_de4f_707f441d2dfc["exceptionCaught()"]
  d25f6f34_2ca3_7948_600a_8eae12cd9427["WebSocketProtocolHandler"]
  bf36d495_1b20_f493_de4f_707f441d2dfc -->|defined in| d25f6f34_2ca3_7948_600a_8eae12cd9427
  791f6a38_ba17_97d5_517e_667c306cfa1d["close()"]
  bf36d495_1b20_f493_de4f_707f441d2dfc -->|calls| 791f6a38_ba17_97d5_517e_667c306cfa1d
  style bf36d495_1b20_f493_de4f_707f441d2dfc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler.java lines 180–184

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
        ctx.fireExceptionCaught(cause);
        ctx.close();
    }

Subdomains

Calls

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketProtocolHandler.java at line 180.
What does exceptionCaught() call?
exceptionCaught() calls 1 function(s): close.

Analyze Your Own Codebase

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

Try Supermodel Free