public class DnsException
extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
private int |
responseCode
The DNS response code associated with this exception
|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
DnsException(ResponseCode responseCode)
Creates a DnsException with a response code.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getResponseCode()
Gets the protocol response code associated with this DnsException.
|
private static final long serialVersionUID
private final int responseCode
public DnsException(ResponseCode responseCode)
responseCode - the response code associated with this DnsException