Package io.vertx.core.dns
Class DnsException
- java.lang.Object
-
- java.lang.Throwable
-
- io.vertx.core.impl.NoStackTraceThrowable
-
- io.vertx.core.dns.DnsException
-
- All Implemented Interfaces:
Serializable
public final class DnsException extends io.vertx.core.impl.NoStackTraceThrowable
Exception which is used to notify theAsyncResult
if the DNS query returns aDnsResponseCode
which indicates and error.- Author:
- Norman Maurer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DnsException(DnsResponseCode code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsResponseCode
code()
TheDnsResponseCode
which caused thisDnsException
to be created.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
DnsException
public DnsException(DnsResponseCode code)
-
-
Method Detail
-
code
public DnsResponseCode code()
TheDnsResponseCode
which caused thisDnsException
to be created.
-
-