public enum DeviceErrorCode extends java.lang.Enum<DeviceErrorCode>
Enum Constant and Description |
---|
COMMUNICATION_ERROR |
INTERNAL_ERROR |
UNSUPPORTED_HARDWARE_ERROR |
Modifier and Type | Method and Description |
---|---|
static DeviceErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceErrorCode UNSUPPORTED_HARDWARE_ERROR
public static final DeviceErrorCode COMMUNICATION_ERROR
public static final DeviceErrorCode INTERNAL_ERROR
public static DeviceErrorCode[] values()
for (DeviceErrorCode c : DeviceErrorCode.values()) System.out.println(c);
public static DeviceErrorCode 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 nullCopyright © 2015 Whizzo Software LLC. All rights reserved.