public class DNSException
extends java.lang.Exception
| Constructor and Description |
|---|
DNSException(DNSError<?> error)
Construct an exception with a given DNS error.
|
DNSException(DNSError<?> error,
java.lang.Exception innerException)
Constructs an exception with the DNS error and the exception that caused the error.
|
DNSException(DNSError<?> error,
java.lang.String message)
Constructs an exception with a message and the DNS error.
|
DNSException(DNSError<?> error,
java.lang.String message,
java.lang.Exception innerException)
Constructs an exception with the DNS error, a message, and the exception that caused the error.
|
DNSException(java.lang.String error)
Construct an exception with an error message.
|
| Modifier and Type | Method and Description |
|---|---|
DNSError<?> |
getError()
Gets the internal DNSError.
|
public DNSException(java.lang.String error)
error - The error message.public DNSException(DNSError<?> error)
error - The DNS error.public DNSException(DNSError<?> error, java.lang.String message)
error - The DNS errormsg - The exception message.public DNSException(DNSError<?> error, java.lang.Exception innerException)
error - The DNS error.innerException - The exception that caused the error.public DNSException(DNSError<?> error, java.lang.String message, java.lang.Exception innerException)
error - The DNS error.msg - The exception message.innerException - The exception that caused the error.public DNSError<?> getError()
Copyright © 2010-2018 The Direct Project. All Rights Reserved.