public class DnsNameResolverException extends RuntimeException
RuntimeException
raised when DnsNameResolver
failed to perform a successful query.Constructor and Description |
---|
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message) |
DnsNameResolverException(InetSocketAddress remoteAddress,
DnsQuestion question,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Throwable |
fillInStackTrace() |
DnsQuestion |
question()
Returns the
DnsQuestion of the DNS query that has failed. |
InetSocketAddress |
remoteAddress()
Returns the
InetSocketAddress of the DNS query that has failed. |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DnsNameResolverException(InetSocketAddress remoteAddress, DnsQuestion question, String message)
public DnsNameResolverException(InetSocketAddress remoteAddress, DnsQuestion question, String message, Throwable cause)
public InetSocketAddress remoteAddress()
InetSocketAddress
of the DNS query that has failed.public DnsQuestion question()
DnsQuestion
of the DNS query that has failed.public Throwable fillInStackTrace()
fillInStackTrace
in class Throwable
Copyright © 2008–2024 The Netty Project. All rights reserved.