Home / Function/ exceptionCaught() — netty Function Reference

exceptionCaught() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5df947e5_dbe1_ae0b_ca52_864185a60ae4["exceptionCaught()"]
  8c108031_e3e7_14e2_222f_1bd939b4c08d["DnsResponseHandler"]
  5df947e5_dbe1_ae0b_ca52_864185a60ae4 -->|defined in| 8c108031_e3e7_14e2_222f_1bd939b4c08d
  style 5df947e5_dbe1_ae0b_ca52_864185a60ae4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java lines 1533–1540

        @Override
        public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {
            if (cause instanceof CorruptedFrameException) {
                logger.debug("{} Unable to decode DNS response: UDP", ctx.channel(), cause);
            } else {
                logger.warn("{} Unexpected exception: UDP", ctx.channel(), cause);
            }
        }

Subdomains

Frequently Asked Questions

What does exceptionCaught() do?
exceptionCaught() is a function in the netty codebase, defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java.
Where is exceptionCaught() defined?
exceptionCaught() is defined in resolver-dns/src/main/java/io/netty/resolver/dns/DnsNameResolver.java at line 1533.

Analyze Your Own Codebase

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

Try Supermodel Free