public enum HostError extends Enum<HostError>
| Enum Constant and Description |
|---|
Connection |
SendFailure |
Timeout |
| Modifier and Type | Method and Description |
|---|---|
static HostError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostError Connection
public static final HostError SendFailure
public static final HostError Timeout
public static HostError[] values()
for (HostError c : HostError.values()) System.out.println(c);
public static HostError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024. All rights reserved.