public enum ErrorCause extends java.lang.Enum<ErrorCause>
Enum Constant and Description |
---|
AUTHORIZATION_FAILED |
FEATURE_NOT_SUPPORTED |
GATT_FAILURE |
ID_NOT_FOUND |
INCORRECT_RESPONSE |
INCORRECT_VALUE |
OPERATION_NOT_ALLOWED |
VERIFICATION_FAILED |
Modifier and Type | Method and Description |
---|---|
static ErrorCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCause GATT_FAILURE
public static final ErrorCause FEATURE_NOT_SUPPORTED
public static final ErrorCause INCORRECT_VALUE
public static final ErrorCause INCORRECT_RESPONSE
public static final ErrorCause OPERATION_NOT_ALLOWED
public static final ErrorCause VERIFICATION_FAILED
public static final ErrorCause AUTHORIZATION_FAILED
public static final ErrorCause ID_NOT_FOUND
public static ErrorCause[] values()
for (ErrorCause c : ErrorCause.values()) System.out.println(c);
public static ErrorCause 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