@UnstableApi
public class DnsNameResolverException
extends java.lang.RuntimeException
RuntimeException
时提出DnsNameResolver
未能履行一项成功的查询。
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace() |
DnsQuestion |
question()
返回失败的DNS查询的 DnsQuestion 。
|
java.net.InetSocketAddress |
remoteAddress()
返回失败的DNS查询的
InetSocketAddress 。
|
public DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message)
public DnsNameResolverException(java.net.InetSocketAddress remoteAddress, DnsQuestion question, java.lang.String message, java.lang.Throwable cause)
public java.net.InetSocketAddress remoteAddress()
InetSocketAddress
。
public DnsQuestion question()
DnsQuestion
。
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
在课堂上
java.lang.Throwable
Copyright © 2008–2018 The Netty Project. All rights reserved.