public class DNSException extends Exception
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
DNSError<?> |
getError()
Gets the internal DNSError.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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.public DNSError<?> getError()
Copyright © 2010-2015 The Direct Project. All Rights Reserved.