public enum OMAGCommonErrorCode extends Enum<OMAGCommonErrorCode>
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessageId()
Returns the unique identifier for the error message.
|
String |
getFormattedErrorMessage(String... params)
Returns the error message with the placeholders filled out with the supplied parameters.
|
int |
getHTTPErrorCode() |
String |
getSystemAction()
Returns a description of the action taken by the system when the condition that caused this exception was
detected.
|
String |
getUnformattedErrorMessage()
Returns the error message with placeholders for specific details.
|
String |
getUserAction()
Returns instructions of how to resolve the issue reported in this exception.
|
String |
toString()
JSON-style toString
|
static OMAGCommonErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OMAGCommonErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OMAGCommonErrorCode SERVER_URL_NOT_SPECIFIED
public static final OMAGCommonErrorCode SERVER_URL_MALFORMED
public static final OMAGCommonErrorCode SERVER_NAME_NOT_SPECIFIED
public static final OMAGCommonErrorCode NULL_USER_ID
public static final OMAGCommonErrorCode NULL_GUID
public static final OMAGCommonErrorCode NULL_NAME
public static final OMAGCommonErrorCode NULL_ARRAY_PARAMETER
public static final OMAGCommonErrorCode NEGATIVE_START_FROM
public static final OMAGCommonErrorCode NEGATIVE_PAGE_SIZE
public static final OMAGCommonErrorCode MAX_PAGE_SIZE
public static final OMAGCommonErrorCode NULL_CONNECTION_PARAMETER
public static final OMAGCommonErrorCode NULL_ENUM
public static final OMAGCommonErrorCode NULL_TEXT
public static final OMAGCommonErrorCode NULL_LOCAL_SERVER_NAME
public static final OMAGCommonErrorCode NULL_OBJECT
public static final OMAGCommonErrorCode UNEXPECTED_EXCEPTION
public static final OMAGCommonErrorCode NO_REQUEST_BODY
public static final OMAGCommonErrorCode UNRECOGNIZED_TYPE_NAME
public static final OMAGCommonErrorCode BAD_SUB_TYPE_NAME
public static final OMAGCommonErrorCode NOT_IN_THE_ZONE
public static final OMAGCommonErrorCode UNKNOWN_ELEMENT
public static final OMAGCommonErrorCode NULL_SEARCH_STRING
public static final OMAGCommonErrorCode CANNOT_DELETE_ELEMENT_IN_USE
public static final OMAGCommonErrorCode NULL_CONNECTOR_TYPE_PARAMETER
public static final OMAGCommonErrorCode INSTANCE_WRONG_TYPE_FOR_GUID
public static final OMAGCommonErrorCode METHOD_NOT_IMPLEMENTED
public static final OMAGCommonErrorCode CLIENT_SIDE_REST_API_ERROR
public static OMAGCommonErrorCode[] values()
for (OMAGCommonErrorCode c : OMAGCommonErrorCode.values()) System.out.println(c);
public static OMAGCommonErrorCode 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 getHTTPErrorCode()
public String getErrorMessageId()
public String getUnformattedErrorMessage()
public String getFormattedErrorMessage(String... params)
params - strings that plug into the placeholders in the errorMessagepublic String getSystemAction()
public String getUserAction()
public String toString()
toString in class Enum<OMAGCommonErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.