public enum ResolveHostError extends java.lang.Enum<ResolveHostError>
| Enum Constant and Description |
|---|
INVALID_HOST |
TIMEOUT |
UNEXPECTED_EXCEPTION |
UNKNOWN_HOST |
| Modifier and Type | Method and Description |
|---|---|
static ResolveHostError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResolveHostError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResolveHostError INVALID_HOST
public static final ResolveHostError UNKNOWN_HOST
public static final ResolveHostError UNEXPECTED_EXCEPTION
public static final ResolveHostError TIMEOUT
public static ResolveHostError[] values()
for (ResolveHostError c : ResolveHostError.values()) System.out.println(c);
public static ResolveHostError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null