public enum ErrorCode extends Enum<ErrorCode>
Modifier and Type | Method and Description |
---|---|
static ErrorCode |
getByCode(int code) |
int |
getCode() |
String |
getDescription() |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode INVALID_ACTION
public static final ErrorCode INVALID_ARGS
public static final ErrorCode ACTION_FAILED
public static final ErrorCode ARGUMENT_VALUE_INVALID
public static final ErrorCode ARGUMENT_VALUE_OUT_OF_RANGE
public static final ErrorCode OPTIONAL_ACTION
public static final ErrorCode OUT_OF_MEMORY
public static final ErrorCode HUMAN_INTERVENTION_REQUIRED
public static final ErrorCode ARGUMENT_TOO_LONG
public static final ErrorCode ACTION_NOT_AUTHORIZED
public static final ErrorCode SIGNATURE_FAILURE
public static final ErrorCode SIGNATURE_MISSING
public static final ErrorCode NOT_ENCRYPTED
public static final ErrorCode INVALID_SEQUENCE
public static final ErrorCode INVALID_CONTROL_URL
public static final ErrorCode NO_SUCH_SESSION
public static final ErrorCode TRANSPORT_LOCKED
public static final ErrorCode ILLEGAL_MIME_TYPE
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 nullpublic int getCode()
public String getDescription()
public static ErrorCode getByCode(int code)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.