org.apache.directory.server.dns
Class DnsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.directory.server.dns.DnsException
- All Implemented Interfaces:
- Serializable
public class DnsException
- extends Exception
The root of the DNS exception hierarchy.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
|
Method Summary |
int |
getResponseCode()
Gets the protocol response code associated with this DnsException. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DnsException
public DnsException(ResponseCode responseCode)
- Creates a DnsException with a response code.
- Parameters:
responseCode - the response code associated with this DnsException
getResponseCode
public int getResponseCode()
- Gets the protocol response code associated with this DnsException.
- Returns:
- the response code associated with this DnsException
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.