Top Description Fields Constructors Methods
io.vertx.core.dns

public final Class DnsException

extends NoStackTraceThrowable
Class Inheritance
Imports
io.vertx.core.impl.NoStackTraceThrowable, java.util.Objects

Exception which is used to notify the io.vertx.core.AsyncResult if the DNS query returns a DnsResponseCode which indicates and error.
Author
Norman Maurer

Field Summary

Modifier and TypeField and Description
private DnsResponseCode
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public DnsResponseCode
code()

The DnsResponseCode which caused this io.vertx.core.dns.DnsException to be created.

Field Detail

codeback to summary
private DnsResponseCode code
ERROR_MESSAGE_PREFIXback to summary
private static final String ERROR_MESSAGE_PREFIX

Constructor Detail

DnsExceptionback to summary
public DnsException(DnsResponseCode code)

Method Detail

codeback to summary
public DnsResponseCode code()

The DnsResponseCode which caused this io.vertx.core.dns.DnsException to be created.