Enum OntologyErrorCode

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

    public enum OntologyErrorCode
    extends java.lang.Enum<OntologyErrorCode>
    Ontology Import ErrorCode enumeration
    • Enum Constant Detail

      • STP_IMPORT_ONTOLOGIES_NOT_JSON_FORMAT

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_NOT_JSON_FORMAT
        File not in json format
      • STP_IMPORT_ONTOLOGIES_DELETE_IDENTIFIER_USED_BY_DT

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_IDENTIFIER_USED_BY_DT
        Onlogy used by document type while trying to delete
      • STP_IMPORT_ONTOLOGIES_IDENTIFIER_ALREADY_IN_ONTOLOGY

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_IDENTIFIER_ALREADY_IN_ONTOLOGY
        Identifier already used
      • STP_IMPORT_ONTOLOGIES_DELETE_USED_ONTOLOGY

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_USED_ONTOLOGY
        /** Used ontology could not be deleted
      • STP_IMPORT_ONTOLOGIES_MISSING_INFORMATION

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_MISSING_INFORMATION
        Missing information
      • STP_IMPORT_ONTOLOGIES_INVALID_PARAMETER

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_INVALID_PARAMETER
        Invalid parameter
      • STP_IMPORT_ONTOLOGIES_UPDATE_INVALID_TYPE

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_UPDATE_INVALID_TYPE
        Invalid type for update
      • STP_IMPORT_ONTOLOGIES_ID_NOT_ALLOWED_IN_CREATE

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_ID_NOT_ALLOWED_IN_CREATE
        Invalid id in create
      • STP_IMPORT_ONTOLOGIES_NOT_AUTHORIZED_FOR_TENANT

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_NOT_AUTHORIZED_FOR_TENANT
        Internal origin not allowed for non admin tenants
      • STP_IMPORT_ONTOLOGIES_DELETE_NOT_AUTHORIZED

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_NOT_AUTHORIZED
        Delete not authorized
      • STP_IMPORT_ONTOLOGIES_EXCEPTION

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_EXCEPTION
        General import error
      • STP_IMPORT_ONTOLOGIES_INTERNAL_EXTERNAL_CONFLICT_EXCEPTION

        public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_INTERNAL_EXTERNAL_CONFLICT_EXCEPTION
        Conflict merging internal and external at initialization
    • Method Detail

      • values

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

        public static OntologyErrorCode 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