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
  • Enum Constant Details

    • OMRS_NOT_INITIALIZED

      public static final SecurityOfficerErrorCode OMRS_NOT_INITIALIZED
      OMAS-SECURITY-OFFICER-404-001 - The open metadata repository services are not initialized for server {0}
    • NO_METADATA_COLLECTION

      public static final SecurityOfficerErrorCode NO_METADATA_COLLECTION
      OMAS-SECURITY-OFFICER-404-003 - The repository connector {0} is not returning a metadata collection object"
    • NULL_TOPIC_CONNECTOR

      public static final SecurityOfficerErrorCode 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

      public static final SecurityOfficerErrorCode NULL_LISTENER
      OMAS-SECURITY-OFFICER-400-017 - A null topic listener has been passed by user {0} on method {1}
    • UNABLE_TO_SEND_EVENT

      public static final SecurityOfficerErrorCode 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

      public static final SecurityOfficerErrorCode 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

      public static final SecurityOfficerErrorCode 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

      public static SecurityOfficerErrorCode[] 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

      public static SecurityOfficerErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getMessageDefinition

      public ExceptionMessageDefinition getMessageDefinition()
      Retrieve a message definition object for an exception. This method is used when there are no message inserts.
      Specified by:
      getMessageDefinition in interface ExceptionMessageSet
      Returns:
      message definition object.
    • getMessageDefinition

      public ExceptionMessageDefinition getMessageDefinition(String... params)
      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 interface ExceptionMessageSet
      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

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Enum<SecurityOfficerErrorCode>
      Returns:
      string of property names and values for this enum