public enum LCSRESTError extends java.lang.Enum<LCSRESTError>
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
java.lang.String |
getErrorDescription() |
static LCSRESTError |
getRESTError(java.lang.String message) |
java.lang.String |
toJSON(java.lang.String message,
int status,
java.lang.Object... args) |
static LCSRESTError |
toLCSClientError(int errorCode) |
static LCSRESTError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LCSRESTError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCSRESTError GENERAL_LCS_PLATFORM_ERROR
public static final LCSRESTError ILLEGAL_PARAMETER_ERROR
public static final LCSRESTError INTERNAL_LCS_PLATFORM_ERROR
public static final LCSRESTError LCS_CLUSTER_ENTRY_TOKEN_ERROR_INVALID_LCS_CLUSTER_ENTRY
public static final LCSRESTError LCS_CLUSTER_ENTRY_TOKEN_ERROR_INVALID_USER_CREDENTIALS
public static final LCSRESTError LCS_CLUSTER_ENTRY_TOKEN_ERROR_NO_SUCH_TOKEN
public static final LCSRESTError LCS_SUBSCRIPTION_ENTRY_ERROR_NO_ACTIVE_SUBSCRIPTION
public static final LCSRESTError LCS_SUBSCRIPTION_ENTRY_ERROR_NO_FREE_ACTIVATION_KEY
public static final LCSRESTError LCS_SUBSCRIPTION_ENTRY_ERROR_NO_SUBSCRIPTION_TYPE
public static final LCSRESTError LCS_SUBSCRIPTION_ENTRY_ERROR_TOO_MANY_PROCESSOR_CORES
public static final LCSRESTError NO_SUCH_LCS_SUBSCRIPTION_ENTRY
public static final LCSRESTError REQUIRED_PARAMETER_MISSING
public static final LCSRESTError UNDEFINED
public static LCSRESTError[] values()
for (LCSRESTError c : LCSRESTError.values()) System.out.println(c);
public static LCSRESTError 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 nullpublic static LCSRESTError getRESTError(java.lang.String message)
public static LCSRESTError toLCSClientError(int errorCode)
public int getErrorCode()
public java.lang.String getErrorDescription()
public java.lang.String toJSON(java.lang.String message,
int status,
java.lang.Object... args)