public enum GraphOMRSErrorCode extends Enum<GraphOMRSErrorCode> implements ExceptionMessageSet
| Modifier and Type | Method and Description |
|---|---|
ExceptionMessageDefinition |
getMessageDefinition()
Retrieve a message definition object for an exception.
|
ExceptionMessageDefinition |
getMessageDefinition(String... params)
Retrieve a message definition object for an 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 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 final GraphOMRSErrorCode INVALID_MATCH_PROPERTY
public static final GraphOMRSErrorCode INVALID_PROPERTY_CONDITION
public static final GraphOMRSErrorCode UNSUPPORTED_SEARCH_PROPERTY_OPERATOR
public static final GraphOMRSErrorCode INVALID_SEARCH_PROPERTY_VALUE
public static final GraphOMRSErrorCode INVALID_SEARCH_PROPERTY_NAME
public static final GraphOMRSErrorCode INVALID_SEARCH_PROPERTY_TYPE
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 ExceptionMessageDefinition getMessageDefinition()
getMessageDefinition in interface ExceptionMessageSetpublic ExceptionMessageDefinition getMessageDefinition(String... params)
getMessageDefinition in interface ExceptionMessageSetparams - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.public String toString()
toString in class Enum<GraphOMRSErrorCode>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.