public static enum StaticIp.Error extends Enum<StaticIp.Error>
Enum Constant and Description |
---|
INVALID_DNS1 |
INVALID_DNS2 |
INVALID_GATEWAY |
INVALID_IP_ADDRESS |
INVALID_NETMASK |
Modifier and Type | Method and Description |
---|---|
static StaticIp.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticIp.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticIp.Error INVALID_IP_ADDRESS
public static final StaticIp.Error INVALID_NETMASK
public static final StaticIp.Error INVALID_GATEWAY
public static final StaticIp.Error INVALID_DNS1
public static final StaticIp.Error INVALID_DNS2
public static StaticIp.Error[] values()
for (StaticIp.Error c : StaticIp.Error.values()) System.out.println(c);
public static StaticIp.Error 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 null