Enum JanusConnectorErrorCode
- java.lang.Object
-
- java.lang.Enum<JanusConnectorErrorCode>
-
- org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.model.JanusConnectorErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<JanusConnectorErrorCode>,AuditLogMessageSet
public enum JanusConnectorErrorCode extends Enum<JanusConnectorErrorCode> implements AuditLogMessageSet
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetErrorMessageId()StringgetFormattedErrorMessage(String... params)AuditLogMessageDefinitiongetMessageDefinition()AuditLogMessageDefinitiongetMessageDefinition(String... params)StringgetSystemAction()StringgetUserAction()static JanusConnectorErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static JanusConnectorErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANNOT_OPEN_GRAPH_DB
public static final JanusConnectorErrorCode CANNOT_OPEN_GRAPH_DB
-
GRAPH_INITIALIZATION_ERROR
public static final JanusConnectorErrorCode GRAPH_INITIALIZATION_ERROR
-
GRAPH_TRAVERSAL_EMPTY
public static final JanusConnectorErrorCode GRAPH_TRAVERSAL_EMPTY
-
GRAPH_DISCONNECT_ERROR
public static final JanusConnectorErrorCode GRAPH_DISCONNECT_ERROR
-
PROCESS_MAPPING_ERROR
public static final JanusConnectorErrorCode PROCESS_MAPPING_ERROR
-
INDEX_NOT_CREATED
public static final JanusConnectorErrorCode INDEX_NOT_CREATED
-
INDEX_NOT_ENABLED
public static final JanusConnectorErrorCode INDEX_NOT_ENABLED
-
INDEX_ALREADY_EXISTS
public static final JanusConnectorErrorCode INDEX_ALREADY_EXISTS
-
VERTICES_AND_RELATIONSHIP_CREATION_EXCEPTION
public static final JanusConnectorErrorCode VERTICES_AND_RELATIONSHIP_CREATION_EXCEPTION
-
ERROR_REMOVING_OBSOLETE_EDGES
public static final JanusConnectorErrorCode ERROR_REMOVING_OBSOLETE_EDGES
-
GET_ALL_NEIGHBOURS
public static final JanusConnectorErrorCode GET_ALL_NEIGHBOURS
-
PROPERTIES_UPDATE_EXCEPTION
public static final JanusConnectorErrorCode PROPERTIES_UPDATE_EXCEPTION
-
UNABLE_TO_ADD_PROPERTIES_ON_EDGE_FROM_RELATIONSHIP_WITH_TYPE
public static final JanusConnectorErrorCode UNABLE_TO_ADD_PROPERTIES_ON_EDGE_FROM_RELATIONSHIP_WITH_TYPE
-
FAILED_TO_UPDATE_CLASSIFICATION_WITH_GUID
public static final JanusConnectorErrorCode FAILED_TO_UPDATE_CLASSIFICATION_WITH_GUID
-
DELETE_CLASSIFICATION_EXCEPTION
public static final JanusConnectorErrorCode DELETE_CLASSIFICATION_EXCEPTION
-
DELETE_RELATIONSHIP_EXCEPTION
public static final JanusConnectorErrorCode DELETE_RELATIONSHIP_EXCEPTION
-
DELETE_ENTITY_EXCEPTION
public static final JanusConnectorErrorCode DELETE_ENTITY_EXCEPTION
-
COULD_NOT_SAVE_LAST_UPDATE_TIME
public static final JanusConnectorErrorCode COULD_NOT_SAVE_LAST_UPDATE_TIME
-
COULD_NOT_RETRIEVE_VERTEX
public static final JanusConnectorErrorCode COULD_NOT_RETRIEVE_VERTEX
-
COULD_NOT_RETRIEVE_LAST_UPDATE_TIME
public static final JanusConnectorErrorCode COULD_NOT_RETRIEVE_LAST_UPDATE_TIME
-
ENTITY_NOT_FOUND
public static final JanusConnectorErrorCode ENTITY_NOT_FOUND
-
LINEAGE_NOT_FOUND
public static final JanusConnectorErrorCode LINEAGE_NOT_FOUND
-
CLASSIFICATION_NOT_FOUND
public static final JanusConnectorErrorCode CLASSIFICATION_NOT_FOUND
-
TYPES_NOT_FOUND
public static final JanusConnectorErrorCode TYPES_NOT_FOUND
-
NODES_NOT_FOUND
public static final JanusConnectorErrorCode NODES_NOT_FOUND
-
SEARCH_ERROR
public static final JanusConnectorErrorCode SEARCH_ERROR
-
-
Method Detail
-
values
public static JanusConnectorErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JanusConnectorErrorCode c : JanusConnectorErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JanusConnectorErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getErrorMessageId
public String getErrorMessageId()
-
getErrorMessage
public String getErrorMessage()
-
getSystemAction
public String getSystemAction()
-
getUserAction
public String getUserAction()
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition()
- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet
-
getMessageDefinition
public AuditLogMessageDefinition getMessageDefinition(String... params)
- Specified by:
getMessageDefinitionin interfaceAuditLogMessageSet
-
-