Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java lines 495–503

        @Override
        public final void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception {
            if (logger.isWarnEnabled()) {
                logger.warn("Unexpected exception from the client side:", cause);
            }

            exception.compareAndSet(null, cause);
            ctx.close();
        }

Domain

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java at line 495.

Analyze Your Own Codebase

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

Try Supermodel Free