public enum LCSClientError extends java.lang.Enum<LCSClientError>
| Enum Constant and Description |
|---|
NO_SUCH_LCS_SUBSCRIPTION_ENTRY |
REQUIRED_PARAMETER_MISSING |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorCode() |
static LCSClientError |
getRESTError(com.liferay.petra.json.web.service.client.JSONWebServiceInvocationException jsonwsie) |
java.lang.String |
toJSON(java.lang.String message,
int status,
java.lang.Object... args) |
static LCSClientError |
toLCSClientError(int errorCode) |
static LCSClientError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LCSClientError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCSClientError UNDEFINED
public static final LCSClientError NO_SUCH_LCS_SUBSCRIPTION_ENTRY
public static final LCSClientError REQUIRED_PARAMETER_MISSING
public static LCSClientError[] values()
for (LCSClientError c : LCSClientError.values()) System.out.println(c);
public static LCSClientError 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 LCSClientError getRESTError(com.liferay.petra.json.web.service.client.JSONWebServiceInvocationException jsonwsie)
public static LCSClientError toLCSClientError(int errorCode)
public int getErrorCode()
public java.lang.String toJSON(java.lang.String message,
int status,
java.lang.Object... args)