Enum Class JanusConnectorErrorCode
java.lang.Object
java.lang.Enum<JanusConnectorErrorCode>
org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.model.JanusConnectorErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<JanusConnectorErrorCode>
,Constable
,AuditLogMessageSet
public enum JanusConnectorErrorCode
extends Enum<JanusConnectorErrorCode>
implements AuditLogMessageSet
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiongetFormattedErrorMessage
(String... params) Retrieve a message definition object for logging.getMessageDefinition
(String... params) Retrieve a message definition object for logging.static JanusConnectorErrorCode
Returns the enum constant of this class with the specified name.static JanusConnectorErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CANNOT_OPEN_GRAPH_DB
-
GRAPH_INITIALIZATION_ERROR
-
GRAPH_TRAVERSAL_EMPTY
-
GRAPH_DISCONNECT_ERROR
-
PROCESS_MAPPING_ERROR
-
INDEX_NOT_CREATED
-
INDEX_NOT_ENABLED
-
INDEX_ALREADY_EXISTS
-
VERTICES_AND_RELATIONSHIP_CREATION_EXCEPTION
-
ERROR_REMOVING_OBSOLETE_EDGES
-
GET_ALL_NEIGHBOURS
-
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
-
DELETE_CLASSIFICATION_EXCEPTION
-
DELETE_RELATIONSHIP_EXCEPTION
-
DELETE_ENTITY_EXCEPTION
-
COULD_NOT_SAVE_LAST_UPDATE_TIME
-
COULD_NOT_RETRIEVE_VERTEX
-
COULD_NOT_RETRIEVE_LAST_UPDATE_TIME
-
ENTITY_NOT_FOUND
-
LINEAGE_NOT_FOUND
-
CLASSIFICATION_NOT_FOUND
-
TYPES_NOT_FOUND
-
NODES_NOT_FOUND
-
SEARCH_ERROR
-
HIERARCHY_ERROR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getErrorMessageId
-
getErrorMessage
-
getSystemAction
-
getUserAction
-
getFormattedErrorMessage
-
getMessageDefinition
Description copied from interface:AuditLogMessageSet
Retrieve a message definition object for logging. This method is used when there are no message inserts.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Returns:
- message definition object.
-
getMessageDefinition
Description copied from interface:AuditLogMessageSet
Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.- Specified by:
getMessageDefinition
in interfaceAuditLogMessageSet
- Parameters:
params
- array of parameters (all strings). They are inserted into the message according to the numbering in the message text.- Returns:
- message definition object.
-