public static enum Connection.Error extends Enum<Connection.Error>
Enum Constant and Description |
---|
ERROR_COMMAND_ABORTED |
ERROR_FORCED_DISCONNECT |
ERROR_IDLE_DISCONNECT |
ERROR_IP_CONFIGURATION |
ERROR_ISP_DISCONNECT |
ERROR_NO_CARRIER |
ERROR_NONE |
ERROR_NOT_ENABLED_FOR_INTERNET |
ERROR_UNKNOWN |
ERROR_USER_DISCONNECT |
Modifier and Type | Method and Description |
---|---|
static Connection.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection.Error ERROR_NONE
public static final Connection.Error ERROR_COMMAND_ABORTED
public static final Connection.Error ERROR_NOT_ENABLED_FOR_INTERNET
public static final Connection.Error ERROR_USER_DISCONNECT
public static final Connection.Error ERROR_ISP_DISCONNECT
public static final Connection.Error ERROR_IDLE_DISCONNECT
public static final Connection.Error ERROR_FORCED_DISCONNECT
public static final Connection.Error ERROR_NO_CARRIER
public static final Connection.Error ERROR_IP_CONFIGURATION
public static final Connection.Error ERROR_UNKNOWN
public static Connection.Error[] values()
for (Connection.Error c : Connection.Error.values()) System.out.println(c);
public static Connection.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 nullCopyright © 2016 4th Line GmbH, Switzerland. All rights reserved.