Enum Class SecurityOfficerErrorCode
java.lang.Object
java.lang.Enum<SecurityOfficerErrorCode>
org.odpi.openmetadata.accessservices.securityofficer.api.ffdc.SecurityOfficerErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<SecurityOfficerErrorCode>
,Constable
,ExceptionMessageSet
public enum SecurityOfficerErrorCode
extends Enum<SecurityOfficerErrorCode>
implements ExceptionMessageSet
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOMAS-SECURITY-OFFICER-404-003 - The repository connector {0} is not returning a metadata collection object"OMAS-SECURITY-OFFICER-400-017 - A null topic listener has been passed by user {0} on method {1}OMAS-SECURITY-OFFICER-400-001 - Unable to send or receive events for source {0} because the connector to the OMRS Topic failed to initializeOMAS-SECURITY-OFFICER-404-001 - The open metadata repository services are not initialized for server {0}OMAS-SECURITY-OFFICER-500-004 - An unexpected exception occurred when sending an event through connector {0} to the Security Officer OMAS out topic.OMAS-SECURITY-OFFICER-503-005 - A {0} exception was caught during start up of service {1} for server {2}.OMAS-SECURITY-OFFICER-503-006 - A {0} exception was caught by method {1} during a call to the repository services by service {2} for server {3}. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve a message definition object for an exception.getMessageDefinition
(String... params) Retrieve a message definition object for an exception.toString()
JSON-style toStringstatic SecurityOfficerErrorCode
Returns the enum constant of this class with the specified name.static SecurityOfficerErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OMRS_NOT_INITIALIZED
OMAS-SECURITY-OFFICER-404-001 - The open metadata repository services are not initialized for server {0} -
NO_METADATA_COLLECTION
OMAS-SECURITY-OFFICER-404-003 - The repository connector {0} is not returning a metadata collection object" -
NULL_TOPIC_CONNECTOR
OMAS-SECURITY-OFFICER-400-001 - Unable to send or receive events for source {0} because the connector to the OMRS Topic failed to initialize -
NULL_LISTENER
OMAS-SECURITY-OFFICER-400-017 - A null topic listener has been passed by user {0} on method {1} -
UNABLE_TO_SEND_EVENT
OMAS-SECURITY-OFFICER-500-004 - An unexpected exception occurred when sending an event through connector {0} to the Security Officer OMAS out topic. The failing event was {1}, the exception was {2} with message {2} -
UNEXPECTED_INITIALIZATION_EXCEPTION
OMAS-SECURITY-OFFICER-503-005 - A {0} exception was caught during start up of service {1} for server {2}. The error message was: {3} -
UNEXPECTED_REPOSITORY_EXCEPTION
OMAS-SECURITY-OFFICER-503-006 - A {0} exception was caught by method {1} during a call to the repository services by service {2} for server {3}. The error message was: {4}
-
-
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
-
getMessageDefinition
Retrieve a message definition object for an exception. This method is used when there are no message inserts.- Specified by:
getMessageDefinition
in interfaceExceptionMessageSet
- Returns:
- message definition object.
-
getMessageDefinition
Retrieve a message definition object for an exception. This method is used when there are values to be inserted into the message.- Specified by:
getMessageDefinition
in interfaceExceptionMessageSet
- 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.
-
toString
JSON-style toString- Overrides:
toString
in classEnum<SecurityOfficerErrorCode>
- Returns:
- string of property names and values for this enum
-