public enum DataPlatformErrorCode extends Enum<DataPlatformErrorCode>
| 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 DataPlatformErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataPlatformErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataPlatformErrorCode SERVER_URL_NOT_SPECIFIED
public static final DataPlatformErrorCode SERVER_URL_MALFORMED
public static final DataPlatformErrorCode NULL_USER_ID
public static final DataPlatformErrorCode NULL_GUID
public static final DataPlatformErrorCode NULL_NAME
public static final DataPlatformErrorCode USER_NOT_AUTHORIZED
public static final DataPlatformErrorCode PROPERTY_SERVER_ERROR
public static final DataPlatformErrorCode NULL_ENUM
public static final DataPlatformErrorCode BAD_CONFIG
public static final DataPlatformErrorCode INVALID_EVENT_FORMAT
public static final DataPlatformErrorCode PUBLISH_EVENT_EXCEPTION
public static final DataPlatformErrorCode PROCESS_EVENT_EXCEPTION
public static final DataPlatformErrorCode ADD_ENTITY_EXCEPTION
public static final DataPlatformErrorCode ADD_RELATIONSHIP_EXCEPTION
public static final DataPlatformErrorCode GET_ENTITY_EXCEPTION
public static final DataPlatformErrorCode GET_RELATIONSHIP_EXCEPTION
public static final DataPlatformErrorCode PARSE_EVENT_EXCEPTION
public static final DataPlatformErrorCode ADD_CLASSIFICATION_EXCEPTION
public static final DataPlatformErrorCode SERVER_NOT_AVAILABLE
public static final DataPlatformErrorCode OMRS_NOT_INITIALIZED
public static final DataPlatformErrorCode OMRS_NOT_AVAILABLE
public static final DataPlatformErrorCode NO_METADATA_COLLECTION
public static final DataPlatformErrorCode ENTITY_NOT_FOUND_EXCEPTION
public static final DataPlatformErrorCode REGISTRATION_EXCEPTION
public static final DataPlatformErrorCode NO_MATCHING_ENTITY_EXCEPTION
public static final DataPlatformErrorCode MULTIPLE_MATCHING_ENTITIES_EXCEPTION
public static final DataPlatformErrorCode NULL_RESPONSE_FROM_API
public static final DataPlatformErrorCode CLIENT_SIDE_REST_API_ERROR
public static final DataPlatformErrorCode SERVICE_NOT_INITIALIZED
public static DataPlatformErrorCode[] values()
for (DataPlatformErrorCode c : DataPlatformErrorCode.values()) System.out.println(c);
public static DataPlatformErrorCode 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<DataPlatformErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.