|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.nhindirect.dns.DNSException
public class DNSException
Exception for DNS server errors.
| Constructor Summary | |
|---|---|
DNSException(DNSError<?> error)
Construct an exception with a given DNS error. |
|
DNSException(DNSError<?> error,
Exception innerException)
Constructs an exception with the DNS error and the exception that caused the error. |
|
DNSException(DNSError<?> error,
String message)
Constructs an exception with a message and the DNS error. |
|
DNSException(DNSError<?> error,
String message,
Exception innerException)
Constructs an exception with the DNS error, a message, and the exception that caused the error. |
|
DNSException(String error)
Construct an exception with an error message. |
|
| Method Summary | |
|---|---|
DNSError<?> |
getError()
Gets the internal DNSError. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DNSException(String error)
error - The error message.public DNSException(DNSError<?> error)
error - The DNS error.
public DNSException(DNSError<?> error,
String message)
error - The DNS errormsg - The exception message.
public DNSException(DNSError<?> error,
Exception innerException)
error - The DNS error.innerException - The exception that caused the error.
public DNSException(DNSError<?> error,
String message,
Exception innerException)
error - The DNS error.msg - The exception message.innerException - The exception that caused the error.| Method Detail |
|---|
public DNSError<?> getError()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||