public class DnsException extends Exception
| 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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DnsException(ResponseCode responseCode)
responseCode - the response code associated with this DnsExceptionCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.