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, toString
public DnsException(ResponseCode responseCode)
responseCode
- the response code associated with this DnsExceptionpublic int getResponseCode()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.