public enum GraphOMRSErrorCode extends Enum<GraphOMRSErrorCode>
| 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()
toString() JSON-style
|
static GraphOMRSErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphOMRSErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphOMRSErrorCode INVALID_MATCH_CRITERIA
public static final GraphOMRSErrorCode ENTITY_ALREADY_EXISTS
public static final GraphOMRSErrorCode ENTITY_NOT_CREATED
public static final GraphOMRSErrorCode ENTITY_NOT_FOUND
public static final GraphOMRSErrorCode RELATIONSHIP_NOT_CREATED
public static final GraphOMRSErrorCode RELATIONSHIP_NOT_FOUND
public static final GraphOMRSErrorCode ENTITY_NOT_UPDATED
public static final GraphOMRSErrorCode RELATIONSHIP_NOT_UPDATED
public static final GraphOMRSErrorCode RELATIONSHIP_TYPE_NOT_KNOWN
public static final GraphOMRSErrorCode RELATIONSHIP_PROPERTIES_ERROR
public static final GraphOMRSErrorCode ENTITY_PROPERTIES_ERROR
public static final GraphOMRSErrorCode ENTITY_TYPE_ERROR
public static final GraphOMRSErrorCode GRAPH_INITIALIZATION_ERROR
public static final GraphOMRSErrorCode CLASSIFICATION_PROPERTIES_ERROR
public static final GraphOMRSErrorCode ENTITY_PROXY_ONLY
public static final GraphOMRSErrorCode METADATA_COLLECTION_NOT_FOUND
public static final GraphOMRSErrorCode EVENT_MAPPER_NOT_INITIALIZED
public static final GraphOMRSErrorCode ENTITY_TYPE_GUID_NOT_KNOWN
public static final GraphOMRSErrorCode RELATIONSHIP_TYPE_GUID_NOT_KNOWN
public static final GraphOMRSErrorCode CONNECTED_ENTITIES_FAILURE
public static final GraphOMRSErrorCode CANNOT_OPEN_GRAPH_DB
public static final GraphOMRSErrorCode GRAPH_DB_HAS_DIFFERENT_METADATACOLLECTION_ID
public static final GraphOMRSErrorCode RELATIONSHIP_ALREADY_EXISTS
public static GraphOMRSErrorCode[] values()
for (GraphOMRSErrorCode c : GraphOMRSErrorCode.values()) System.out.println(c);
public static GraphOMRSErrorCode 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<GraphOMRSErrorCode>Copyright © 2018–2020 ODPi. All rights reserved.