Enum OMRSErrorCode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OMRSErrorCode>, ExceptionMessageSet

    public enum OMRSErrorCode
    extends java.lang.Enum<OMRSErrorCode>
    implements ExceptionMessageSet
    The OMRSErrorCode is used to define first failure data capture (FFDC) for errors that occur within the OMRS It is used in conjunction with all OMRS Exceptions, both Checked and Runtime (unchecked). The 5 fields in the enum are:
    • HTTP Error Code for translating between REST and JAVA. Typically the numbers used are:
      • 500: internal error
      • 501: not implemented
      • 503: Service not available
      • 400: invalid parameters
      • 401: unauthorized
      • 404: not found
      • 405: method not allowed
      • 409: data conflict errors, for example an item is already defined
    • Error Message Id: to uniquely identify the message
    • Error Message Text: includes placeholder to allow additional values to be captured
    • SystemAction: describes the result of the error
    • UserAction: describes how a user should correct the error
    • Enum Constant Detail

      • TYPEDEF_IN_USE

        public static final OMRSErrorCode TYPEDEF_IN_USE
      • ATTRIBUTE_TYPEDEF_IN_USE

        public static final OMRSErrorCode ATTRIBUTE_TYPEDEF_IN_USE
      • TYPEDEF_ALREADY_DEFINED

        public static final OMRSErrorCode TYPEDEF_ALREADY_DEFINED
      • ATTRIBUTE_TYPEDEF_ALREADY_DEFINED

        public static final OMRSErrorCode ATTRIBUTE_TYPEDEF_ALREADY_DEFINED
      • UNKNOWN_CLASSIFICATION

        public static final OMRSErrorCode UNKNOWN_CLASSIFICATION
      • INVALID_CLASSIFICATION_FOR_ENTITY

        public static final OMRSErrorCode INVALID_CLASSIFICATION_FOR_ENTITY
      • NO_TYPEDEF_NAME

        public static final OMRSErrorCode NO_TYPEDEF_NAME
      • NO_ATTRIBUTE_TYPEDEF_NAME

        public static final OMRSErrorCode NO_ATTRIBUTE_TYPEDEF_NAME
      • NO_TYPEDEF_CATEGORY

        public static final OMRSErrorCode NO_TYPEDEF_CATEGORY
      • NO_ATTRIBUTE_TYPEDEF_CATEGORY

        public static final OMRSErrorCode NO_ATTRIBUTE_TYPEDEF_CATEGORY
      • NO_MATCH_CRITERIA

        public static final OMRSErrorCode NO_MATCH_CRITERIA
      • NO_EXTERNAL_ID

        public static final OMRSErrorCode NO_EXTERNAL_ID
      • NO_SEARCH_CRITERIA

        public static final OMRSErrorCode NO_SEARCH_CRITERIA
      • NO_ATTRIBUTE_TYPEDEF

        public static final OMRSErrorCode NO_ATTRIBUTE_TYPEDEF
      • INVALID_TYPEDEF

        public static final OMRSErrorCode INVALID_TYPEDEF
      • INVALID_ATTRIBUTE_TYPEDEF

        public static final OMRSErrorCode INVALID_ATTRIBUTE_TYPEDEF
      • NULL_ATTRIBUTE_TYPEDEF

        public static final OMRSErrorCode NULL_ATTRIBUTE_TYPEDEF
      • NULL_TYPEDEF_GALLERY

        public static final OMRSErrorCode NULL_TYPEDEF_GALLERY
      • NULL_TYPEDEF_IDENTIFIER

        public static final OMRSErrorCode NULL_TYPEDEF_IDENTIFIER
      • NULL_TYPEDEF_NAME

        public static final OMRSErrorCode NULL_TYPEDEF_NAME
      • NULL_ATTRIBUTE_TYPEDEF_IDENTIFIER

        public static final OMRSErrorCode NULL_ATTRIBUTE_TYPEDEF_IDENTIFIER
      • NULL_METADATA_COLLECTION

        public static final OMRSErrorCode NULL_METADATA_COLLECTION
      • NULL_CLASSIFICATION_NAME

        public static final OMRSErrorCode NULL_CLASSIFICATION_NAME
      • BAD_PROPERTY_FOR_TYPE

        public static final OMRSErrorCode BAD_PROPERTY_FOR_TYPE
      • NO_PROPERTIES_FOR_TYPE

        public static final OMRSErrorCode NO_PROPERTIES_FOR_TYPE
      • BAD_PROPERTY_TYPE

        public static final OMRSErrorCode BAD_PROPERTY_TYPE
      • NULL_PROPERTY_NAME_FOR_INSTANCE

        public static final OMRSErrorCode NULL_PROPERTY_NAME_FOR_INSTANCE
      • NULL_PROPERTY_VALUE_FOR_INSTANCE

        public static final OMRSErrorCode NULL_PROPERTY_VALUE_FOR_INSTANCE
      • NULL_PROPERTY_TYPE_FOR_INSTANCE

        public static final OMRSErrorCode NULL_PROPERTY_TYPE_FOR_INSTANCE
      • BAD_TYPEDEF_ID_FOR_INSTANCE

        public static final OMRSErrorCode BAD_TYPEDEF_ID_FOR_INSTANCE
      • BAD_INSTANCE_STATUS

        public static final OMRSErrorCode BAD_INSTANCE_STATUS
      • NULL_INSTANCE_STATUS

        public static final OMRSErrorCode NULL_INSTANCE_STATUS
      • NO_NEW_PROPERTIES

        public static final OMRSErrorCode NO_NEW_PROPERTIES
      • REPOSITORY_NOT_CRYSTAL_BALL

        public static final OMRSErrorCode REPOSITORY_NOT_CRYSTAL_BALL
      • BAD_TYPEDEF_IDS_FOR_DELETE

        public static final OMRSErrorCode BAD_TYPEDEF_IDS_FOR_DELETE
      • BAD_PROPERTY_FOR_INSTANCE

        public static final OMRSErrorCode BAD_PROPERTY_FOR_INSTANCE
      • NULL_REFERENCE_INSTANCE

        public static final OMRSErrorCode NULL_REFERENCE_INSTANCE
      • LOCAL_REFERENCE_INSTANCE

        public static final OMRSErrorCode LOCAL_REFERENCE_INSTANCE
      • NULL_ENTITY_PROXY

        public static final OMRSErrorCode NULL_ENTITY_PROXY
      • LOCAL_ENTITY_PROXY

        public static final OMRSErrorCode LOCAL_ENTITY_PROXY
      • INSTANCE_ALREADY_DELETED

        public static final OMRSErrorCode INSTANCE_ALREADY_DELETED
      • INSTANCE_NOT_DELETED

        public static final OMRSErrorCode INSTANCE_NOT_DELETED
      • INVALID_RELATIONSHIP_ENDS

        public static final OMRSErrorCode INVALID_RELATIONSHIP_ENDS
      • ENTITY_NOT_CLASSIFIED

        public static final OMRSErrorCode ENTITY_NOT_CLASSIFIED
      • NULL_TYPEDEF_PATCH

        public static final OMRSErrorCode NULL_TYPEDEF_PATCH
      • NEGATIVE_PAGE_SIZE

        public static final OMRSErrorCode NEGATIVE_PAGE_SIZE
      • ENTITY_PROXY_ONLY

        public static final OMRSErrorCode ENTITY_PROXY_ONLY
      • INVALID_ENTITY_FROM_STORE

        public static final OMRSErrorCode INVALID_ENTITY_FROM_STORE
      • INVALID_RELATIONSHIP_FROM_STORE

        public static final OMRSErrorCode INVALID_RELATIONSHIP_FROM_STORE
      • NULL_INSTANCE_METADATA_COLLECTION_ID

        public static final OMRSErrorCode NULL_INSTANCE_METADATA_COLLECTION_ID
      • UNEXPECTED_EXCEPTION_FROM_COHORT

        public static final OMRSErrorCode UNEXPECTED_EXCEPTION_FROM_COHORT
      • NO_HOME_FOR_INSTANCE

        public static final OMRSErrorCode NO_HOME_FOR_INSTANCE
      • NULL_AS_OF_TIME

        public static final OMRSErrorCode NULL_AS_OF_TIME
      • BAD_DELETE_INSTANCE_STATUS

        public static final OMRSErrorCode BAD_DELETE_INSTANCE_STATUS
      • VERIFY_CONFLICT_DETECTED

        public static final OMRSErrorCode VERIFY_CONFLICT_DETECTED
      • NULL_PARAMETER

        public static final OMRSErrorCode NULL_PARAMETER
      • INVALID_INSTANCE

        public static final OMRSErrorCode INVALID_INSTANCE
      • UNEXPECTED_EXCEPTION

        public static final OMRSErrorCode UNEXPECTED_EXCEPTION
      • UNSUPPORTED_TYPE_HEADER_VERSION

        public static final OMRSErrorCode UNSUPPORTED_TYPE_HEADER_VERSION
      • UNSUPPORTED_INSTANCE_HEADER_VERSION

        public static final OMRSErrorCode UNSUPPORTED_INSTANCE_HEADER_VERSION
      • INVALID_PATCH_VERSION

        public static final OMRSErrorCode INVALID_PATCH_VERSION
      • INCOMPATIBLE_PATCH_VERSION

        public static final OMRSErrorCode INCOMPATIBLE_PATCH_VERSION
      • NULL_MANDATORY_PATCH_FIELD

        public static final OMRSErrorCode NULL_MANDATORY_PATCH_FIELD
      • INCOMPATIBLE_PROPERTY_PATCH

        public static final OMRSErrorCode INCOMPATIBLE_PROPERTY_PATCH
      • NO_AUDIT_LOG_DESTINATIONS

        public static final OMRSErrorCode NO_AUDIT_LOG_DESTINATIONS
      • NULL_AUDIT_LOG

        public static final OMRSErrorCode NULL_AUDIT_LOG
      • INVALID_INSTANCES

        public static final OMRSErrorCode INVALID_INSTANCES
      • INVALID_PROPERTY_SEARCH

        public static final OMRSErrorCode INVALID_PROPERTY_SEARCH
      • INVALID_CLASSIFICATION_SEARCH

        public static final OMRSErrorCode INVALID_CLASSIFICATION_SEARCH
      • INVALID_LIST_CONDITION

        public static final OMRSErrorCode INVALID_LIST_CONDITION
      • INVALID_LIKE_CONDITION

        public static final OMRSErrorCode INVALID_LIKE_CONDITION
      • INVALID_NUMERIC_CONDITION

        public static final OMRSErrorCode INVALID_NUMERIC_CONDITION
      • TYPEDEF_NOT_SUBTYPE

        public static final OMRSErrorCode TYPEDEF_NOT_SUBTYPE
      • UNSUPPORTED_CLASSIFICATION

        public static final OMRSErrorCode UNSUPPORTED_CLASSIFICATION
      • ENTITY_ALREADY_CLASSIFIED

        public static final OMRSErrorCode ENTITY_ALREADY_CLASSIFIED
      • NO_HOME_FOR_CLASSIFICATION

        public static final OMRSErrorCode NO_HOME_FOR_CLASSIFICATION
      • INVALID_TIME_RANGE

        public static final OMRSErrorCode INVALID_TIME_RANGE
      • NULL_USER_NAME

        public static final OMRSErrorCode NULL_USER_NAME
      • NO_MORE_ELEMENTS

        public static final OMRSErrorCode NO_MORE_ELEMENTS
      • NULL_CLASSIFICATION_PROPERTY_NAME

        public static final OMRSErrorCode NULL_CLASSIFICATION_PROPERTY_NAME
      • NULL_PROPERTY_NAME

        public static final OMRSErrorCode NULL_PROPERTY_NAME
      • ARRAY_OUT_OF_BOUNDS

        public static final OMRSErrorCode ARRAY_OUT_OF_BOUNDS
      • BAD_ATTRIBUTE_TYPE

        public static final OMRSErrorCode BAD_ATTRIBUTE_TYPE
      • INVALID_SEARCH_CRITERIA

        public static final OMRSErrorCode INVALID_SEARCH_CRITERIA
      • REPOSITORY_URL_NULL

        public static final OMRSErrorCode REPOSITORY_URL_NULL
      • REPOSITORY_URL_MALFORMED

        public static final OMRSErrorCode REPOSITORY_URL_MALFORMED
      • NULL_CONNECTION

        public static final OMRSErrorCode NULL_CONNECTION
      • NULL_OMRS_CONNECTION

        public static final OMRSErrorCode NULL_OMRS_CONNECTION
      • INVALID_OMRS_CONNECTION

        public static final OMRSErrorCode INVALID_OMRS_CONNECTION
      • NULL_TOPIC_CONNECTOR

        public static final OMRSErrorCode NULL_TOPIC_CONNECTOR
      • NO_EVENT_BUS_CONNECTORS

        public static final OMRSErrorCode NO_EVENT_BUS_CONNECTORS
      • NULL_REGISTRY_STORE

        public static final OMRSErrorCode NULL_REGISTRY_STORE
      • INVALID_LOCAL_METADATA_COLLECTION_ID

        public static final OMRSErrorCode INVALID_LOCAL_METADATA_COLLECTION_ID
      • NULL_ARCHIVE_STORE

        public static final OMRSErrorCode NULL_ARCHIVE_STORE
      • NULL_EVENT_MAPPER

        public static final OMRSErrorCode NULL_EVENT_MAPPER
      • NOT_FOR_LOCAL_COLLECTION

        public static final OMRSErrorCode NOT_FOR_LOCAL_COLLECTION
      • CONFLICTING_ENTERPRISE_TYPEDEFS

        public static final OMRSErrorCode CONFLICTING_ENTERPRISE_TYPEDEFS
      • NO_TYPEDEFS_DEFINED

        public static final OMRSErrorCode NO_TYPEDEFS_DEFINED
      • DUPLICATE_TYPE_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_TYPE_IN_ARCHIVE
      • DUPLICATE_INSTANCE_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_INSTANCE_IN_ARCHIVE
      • DUPLICATE_TYPENAME_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_TYPENAME_IN_ARCHIVE
      • DUPLICATE_GUID_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_GUID_IN_ARCHIVE
      • MISSING_TYPE_IN_ARCHIVE

        public static final OMRSErrorCode MISSING_TYPE_IN_ARCHIVE
      • MISSING_NAME_FOR_ARCHIVE

        public static final OMRSErrorCode MISSING_NAME_FOR_ARCHIVE
      • DUPLICATE_ENDDEF1_NAME_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_ENDDEF1_NAME_IN_ARCHIVE
      • DUPLICATE_ENDDEF2_NAME_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_ENDDEF2_NAME_IN_ARCHIVE
      • DUPLICATE_RELATIONSHIP_ATTR_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_RELATIONSHIP_ATTR_IN_ARCHIVE
      • DUPLICATE_ENTITY_ATTR_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_ENTITY_ATTR_IN_ARCHIVE
      • DUPLICATE_CLASSIFICATION_ATTR_IN_ARCHIVE

        public static final OMRSErrorCode DUPLICATE_CLASSIFICATION_ATTR_IN_ARCHIVE
      • BLANK_TYPENAME_IN_ARCHIVE

        public static final OMRSErrorCode BLANK_TYPENAME_IN_ARCHIVE
      • UNKNOWN_TYPENAME

        public static final OMRSErrorCode UNKNOWN_TYPENAME
      • NO_AUDIT_LOG_STORE

        public static final OMRSErrorCode NO_AUDIT_LOG_STORE
      • NULL_AUDIT_LOG_STORE

        public static final OMRSErrorCode NULL_AUDIT_LOG_STORE
      • NULL_LOG_RECORD

        public static final OMRSErrorCode NULL_LOG_RECORD
      • NULL_LOG_RECORD_ORIGINATOR

        public static final OMRSErrorCode NULL_LOG_RECORD_ORIGINATOR
      • NULL_LOG_RECORD_REPORTING_COMPONENT

        public static final OMRSErrorCode NULL_LOG_RECORD_REPORTING_COMPONENT
      • CAN_NOT_QUERY_AUDIT_LOG_STORE

        public static final OMRSErrorCode CAN_NOT_QUERY_AUDIT_LOG_STORE
      • AUDIT_LOG_STORE_NOT_AVAILABLE

        public static final OMRSErrorCode AUDIT_LOG_STORE_NOT_AVAILABLE
      • AUDIT_LOG_RECORD_NOT_JSON_ENABLED

        public static final OMRSErrorCode AUDIT_LOG_RECORD_NOT_JSON_ENABLED
      • REPOSITORY_NOT_AVAILABLE

        public static final OMRSErrorCode REPOSITORY_NOT_AVAILABLE
      • ENTITY_NOT_KNOWN

        public static final OMRSErrorCode ENTITY_NOT_KNOWN
      • RELATIONSHIP_NOT_KNOWN

        public static final OMRSErrorCode RELATIONSHIP_NOT_KNOWN
      • TYPEDEF_NOT_KNOWN

        public static final OMRSErrorCode TYPEDEF_NOT_KNOWN
      • TYPEDEF_NOT_KNOWN_FOR_INSTANCE

        public static final OMRSErrorCode TYPEDEF_NOT_KNOWN_FOR_INSTANCE
      • ATTRIBUTE_TYPEDEF_NOT_KNOWN

        public static final OMRSErrorCode ATTRIBUTE_TYPEDEF_NOT_KNOWN
      • TYPEDEF_ID_NOT_KNOWN

        public static final OMRSErrorCode TYPEDEF_ID_NOT_KNOWN
      • ATTRIBUTE_TYPEDEF_ID_NOT_KNOWN

        public static final OMRSErrorCode ATTRIBUTE_TYPEDEF_ID_NOT_KNOWN
      • TYPEDEF_NAME_NOT_KNOWN

        public static final OMRSErrorCode TYPEDEF_NAME_NOT_KNOWN
      • ATTRIBUTE_TYPEDEF_NAME_NOT_KNOWN

        public static final OMRSErrorCode ATTRIBUTE_TYPEDEF_NAME_NOT_KNOWN
      • RELATIONSHIP_NOT_FOUND

        public static final OMRSErrorCode RELATIONSHIP_NOT_FOUND
      • RELATIONSHIP_SOFT_DELETED

        public static final OMRSErrorCode RELATIONSHIP_SOFT_DELETED
      • ENTITY_SOFT_DELETED

        public static final OMRSErrorCode ENTITY_SOFT_DELETED
      • COHORT_NOT_CONNECTED

        public static final OMRSErrorCode COHORT_NOT_CONNECTED
      • INVALID_COHORT_CONFIG

        public static final OMRSErrorCode INVALID_COHORT_CONFIG
      • METADATA_HIGHWAY_NOT_AVAILABLE

        public static final OMRSErrorCode METADATA_HIGHWAY_NOT_AVAILABLE
      • COHORT_DISCONNECT_FAILED

        public static final OMRSErrorCode COHORT_DISCONNECT_FAILED
      • DUPLICATE_COHORT_NAME

        public static final OMRSErrorCode DUPLICATE_COHORT_NAME
      • TOPIC_CONNECTOR_NOT_AVAILABLE

        public static final OMRSErrorCode TOPIC_CONNECTOR_NOT_AVAILABLE
      • REMOTE_REPOSITORY_ERROR

        public static final OMRSErrorCode REMOTE_REPOSITORY_ERROR
      • COHORT_STARTUP_ERROR

        public static final OMRSErrorCode COHORT_STARTUP_ERROR
      • ENTERPRISE_NOT_SUPPORTED

        public static final OMRSErrorCode ENTERPRISE_NOT_SUPPORTED
      • MULTIPLE_ENTITIES_FOUND

        public static final OMRSErrorCode MULTIPLE_ENTITIES_FOUND
      • MULTIPLE_RELATIONSHIPS_FOUND

        public static final OMRSErrorCode MULTIPLE_RELATIONSHIPS_FOUND
      • INVALID_PRIMITIVE_CLASS_NAME

        public static final OMRSErrorCode INVALID_PRIMITIVE_CLASS_NAME
      • INVALID_PRIMITIVE_VALUE

        public static final OMRSErrorCode INVALID_PRIMITIVE_VALUE
      • INVALID_PRIMITIVE_CATEGORY

        public static final OMRSErrorCode INVALID_PRIMITIVE_CATEGORY
      • NULL_HOME_METADATA_COLLECTION_ID

        public static final OMRSErrorCode NULL_HOME_METADATA_COLLECTION_ID
      • NULL_METADATA_COLLECTION_ID

        public static final OMRSErrorCode NULL_METADATA_COLLECTION_ID
      • BAD_INTERNAL_PAGING

        public static final OMRSErrorCode BAD_INTERNAL_PAGING
      • BAD_INTERNAL_SEQUENCING

        public static final OMRSErrorCode BAD_INTERNAL_SEQUENCING
      • NO_REPOSITORY_CONNECTOR_FOR_COLLECTION

        public static final OMRSErrorCode NO_REPOSITORY_CONNECTOR_FOR_COLLECTION
      • NO_REPOSITORY_VALIDATOR_FOR_COLLECTION

        public static final OMRSErrorCode NO_REPOSITORY_VALIDATOR_FOR_COLLECTION
      • NO_REPOSITORY_HELPER_FOR_COLLECTION

        public static final OMRSErrorCode NO_REPOSITORY_HELPER_FOR_COLLECTION
      • REPOSITORY_LOGIC_ERROR

        public static final OMRSErrorCode REPOSITORY_LOGIC_ERROR
      • NULL_INSTANCE_TYPE

        public static final OMRSErrorCode NULL_INSTANCE_TYPE
      • INACTIVE_INSTANCE_TYPE

        public static final OMRSErrorCode INACTIVE_INSTANCE_TYPE
      • INVALID_PRIMITIVE_TYPE

        public static final OMRSErrorCode INVALID_PRIMITIVE_TYPE
      • INSTANCE_HOME_NOT_LOCAL

        public static final OMRSErrorCode INSTANCE_HOME_NOT_LOCAL
      • NULL_METADATA_COLLECTION_ID_FROM_REMOTE

        public static final OMRSErrorCode NULL_METADATA_COLLECTION_ID_FROM_REMOTE
      • NULL_COHORT_NAME

        public static final OMRSErrorCode NULL_COHORT_NAME
      • NULL_LOCAL_METADATA_COLLECTION

        public static final OMRSErrorCode NULL_LOCAL_METADATA_COLLECTION
      • NULL_ENTERPRISE_METADATA_COLLECTION

        public static final OMRSErrorCode NULL_ENTERPRISE_METADATA_COLLECTION
      • BAD_TYPEDEF_ATTRIBUTE_NAME

        public static final OMRSErrorCode BAD_TYPEDEF_ATTRIBUTE_NAME
      • NULL_TYPEDEF_ATTRIBUTE

        public static final OMRSErrorCode NULL_TYPEDEF_ATTRIBUTE
      • BAD_CATEGORY_FOR_TYPEDEF_ATTRIBUTE

        public static final OMRSErrorCode BAD_CATEGORY_FOR_TYPEDEF_ATTRIBUTE
      • UNKNOWN_TYPEDEF

        public static final OMRSErrorCode UNKNOWN_TYPEDEF
      • ARCHIVE_UNAVAILABLE

        public static final OMRSErrorCode ARCHIVE_UNAVAILABLE
      • NULL_EXCHANGE_RULE

        public static final OMRSErrorCode NULL_EXCHANGE_RULE
      • NULL_REPOSITORY_VALIDATOR

        public static final OMRSErrorCode NULL_REPOSITORY_VALIDATOR
      • NULL_REPOSITORY_HELPER

        public static final OMRSErrorCode NULL_REPOSITORY_HELPER
      • NULL_OUTBOUND_EVENT

        public static final OMRSErrorCode NULL_OUTBOUND_EVENT
      • METADATA_COLLECTION_ID_MISMATCH

        public static final OMRSErrorCode METADATA_COLLECTION_ID_MISMATCH
      • NULL_REMOTE_METADATA_COLLECTION_ID

        public static final OMRSErrorCode NULL_REMOTE_METADATA_COLLECTION_ID
      • NULL_OPEN_METADATA_TOPIC_LISTENER

        public static final OMRSErrorCode NULL_OPEN_METADATA_TOPIC_LISTENER
      • NULL_OMRS_TOPIC_LISTENER

        public static final OMRSErrorCode NULL_OMRS_TOPIC_LISTENER
      • OMRS_TOPIC_SEND_EVENT_FAILED

        public static final OMRSErrorCode OMRS_TOPIC_SEND_EVENT_FAILED
      • OMRS_TOPIC_SEND_NULL_EVENT

        public static final OMRSErrorCode OMRS_TOPIC_SEND_NULL_EVENT
      • NULL_CONNECTOR_RETURNED

        public static final OMRSErrorCode NULL_CONNECTOR_RETURNED
      • WRONG_TYPE_OF_CONNECTOR

        public static final OMRSErrorCode WRONG_TYPE_OF_CONNECTOR
      • METHOD_NOT_IMPLEMENTED

        public static final OMRSErrorCode METHOD_NOT_IMPLEMENTED
      • TYPE_NOT_IMPLEMENTED

        public static final OMRSErrorCode TYPE_NOT_IMPLEMENTED
      • OMRS_UNSUPPORTED_EVENT_PROTOCOL

        public static final OMRSErrorCode OMRS_UNSUPPORTED_EVENT_PROTOCOL
      • NO_REPOSITORIES

        public static final OMRSErrorCode NO_REPOSITORIES
      • ENTERPRISE_DISCONNECTED

        public static final OMRSErrorCode ENTERPRISE_DISCONNECTED
      • NULL_COHORT_METADATA_COLLECTION

        public static final OMRSErrorCode NULL_COHORT_METADATA_COLLECTION
      • NULL_CONTENT_MANAGER

        public static final OMRSErrorCode NULL_CONTENT_MANAGER
      • NULL_SOURCE_NAME

        public static final OMRSErrorCode NULL_SOURCE_NAME
      • LOCAL_REPOSITORY_CONFIGURATION_ERROR

        public static final OMRSErrorCode LOCAL_REPOSITORY_CONFIGURATION_ERROR
      • BAD_LOCAL_REPOSITORY_CONNECTION

        public static final OMRSErrorCode BAD_LOCAL_REPOSITORY_CONNECTION
      • VALIDATION_LOGIC_ERROR

        public static final OMRSErrorCode VALIDATION_LOGIC_ERROR
      • CONTENT_MANAGER_LOGIC_ERROR

        public static final OMRSErrorCode CONTENT_MANAGER_LOGIC_ERROR
      • ENTITY_PROXY_IN_HOME

        public static final OMRSErrorCode ENTITY_PROXY_IN_HOME
      • NULL_CLASSIFICATION_CREATED

        public static final OMRSErrorCode NULL_CLASSIFICATION_CREATED
      • ENTITY_CAN_NOT_BE_UPDATED

        public static final OMRSErrorCode ENTITY_CAN_NOT_BE_UPDATED
      • RELATIONSHIP_CAN_NOT_BE_UPDATED

        public static final OMRSErrorCode RELATIONSHIP_CAN_NOT_BE_UPDATED
      • HELPER_LOGIC_ERROR

        public static final OMRSErrorCode HELPER_LOGIC_ERROR
      • HELPER_LOGIC_EXCEPTION

        public static final OMRSErrorCode HELPER_LOGIC_EXCEPTION
      • NO_LOCAL_REPOSITORY

        public static final OMRSErrorCode NO_LOCAL_REPOSITORY
      • NO_ENTERPRISE_REPOSITORY

        public static final OMRSErrorCode NO_ENTERPRISE_REPOSITORY
      • NO_METADATA_HIGHWAY

        public static final OMRSErrorCode NO_METADATA_HIGHWAY
      • NULL_RESPONSE_FROM_API

        public static final OMRSErrorCode NULL_RESPONSE_FROM_API
      • NO_REST_CLIENT

        public static final OMRSErrorCode NO_REST_CLIENT
      • CLIENT_SIDE_REST_API_ERROR

        public static final OMRSErrorCode CLIENT_SIDE_REST_API_ERROR
    • Method Detail

      • values

        public static OMRSErrorCode[] 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 (OMRSErrorCode c : OMRSErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OMRSErrorCode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getMessageDefinition

        public ExceptionMessageDefinition getMessageDefinition​(java.lang.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 java.lang.String toString()
        toString() JSON-style
        Overrides:
        toString in class java.lang.Enum<OMRSErrorCode>
        Returns:
        string description