Package io.netty.resolver.dns
Class DnsNameResolverException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty.resolver.dns.DnsNameResolverException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DnsNameResolverTimeoutException
public class DnsNameResolverException extends java.lang.RuntimeException
ARuntimeException
raised whenDnsNameResolver
failed to perform a successful query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message)
DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
DnsQuestion
question()
Returns theDnsQuestion
of the DNS query that has failed.java.net.InetSocketAddress
remoteAddress()
Returns theInetSocketAddress
of the DNS query that has failed.
-
-
-
Constructor Detail
-
DnsNameResolverException
public DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message)
-
DnsNameResolverException
public DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message, java.lang.Throwable cause)
-
-
Method Detail
-
remoteAddress
public java.net.InetSocketAddress remoteAddress()
Returns theInetSocketAddress
of the DNS query that has failed.
-
question
public DnsQuestion question()
Returns theDnsQuestion
of the DNS query that has failed.
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classjava.lang.Throwable
-
-