|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.dns.DNSError<T>
T - The error type. Typically a long or integer describing an error code.public class DNSError<T>
Container for a DNS error code.
| Constructor Summary | |
|---|---|
DNSError(T error)
Constructs a new DNSError. |
|
| Method Summary | ||
|---|---|---|
T |
getError()
Gets the internal error. |
|
static
|
newError(T error)
Creates a new DNSError with an internal error code. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DNSError(T error)
error - The error describing the error condition.| Method Detail |
|---|
public static <T> DNSError<T> newError(T error)
T - The error Type. Typically a long or integer describing an error code.error - The error describing the error condition.
public T getError()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||