public final class DnsException
extends io.vertx.core.impl.NoStackTraceThrowable
AsyncResult
if the DNS query returns a DnsResponseCode
which indicates and error.Constructor and Description |
---|
DnsException(DnsResponseCode code) |
Modifier and Type | Method and Description |
---|---|
DnsResponseCode |
code()
The
DnsResponseCode which caused this DnsException to be created. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DnsException(DnsResponseCode code)
public DnsResponseCode code()
DnsResponseCode
which caused this DnsException
to be created.Copyright © 2023 Eclipse. All rights reserved.