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 DnsExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.