public enum ErrorType extends Enum<ErrorType>
| Enum Constant and Description |
|---|
LIMIT |
NOT_JSON |
NOT_REQUEST |
UNKNOWN_CAPABILITY |
| Modifier and Type | Method and Description |
|---|---|
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="urn:ietf:params:jmap:error:unknownCapability") public static final ErrorType UNKNOWN_CAPABILITY
@SerializedName(value="urn:ietf:params:jmap:error:notJSON") public static final ErrorType NOT_JSON
@SerializedName(value="urn:ietf:params:jmap:error:notRequest") public static final ErrorType NOT_REQUEST
@SerializedName(value="urn:ietf:params:jmap:error:limit") public static final ErrorType LIMIT
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 © 2020. All rights reserved.