Enum ErrorDefs.ERRORCODE

    • Enum Constant Detail

      • NULL_OR_EMPTY_PARAMETER_EXCEPTION

        public static final ErrorDefs.ERRORCODE NULL_OR_EMPTY_PARAMETER_EXCEPTION
        Some parameter is null or empty.
      • INVALID_PARAMETER_EXCEPTION

        public static final ErrorDefs.ERRORCODE INVALID_PARAMETER_EXCEPTION
        Some parameter has non-valid value.
      • BAD_DEFINED_DBHANDLER_CONF

        public static final ErrorDefs.ERRORCODE BAD_DEFINED_DBHANDLER_CONF
        DbHandlerConf is bad defined.
      • ACCOUNT_EXISTS

        public static final ErrorDefs.ERRORCODE ACCOUNT_EXISTS
        Account already exists.
      • ACCOUNT_NOT_EXIST

        public static final ErrorDefs.ERRORCODE ACCOUNT_NOT_EXIST
        Account does not exist.
      • INVALID_CREDENTIALS

        public static final ErrorDefs.ERRORCODE INVALID_CREDENTIALS
        Account invalid credentials.
      • CLASS_NOT_EXIST

        public static final ErrorDefs.ERRORCODE CLASS_NOT_EXIST
        Class does not exist.
      • CLASS_LANG_DEP_INFO_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE CLASS_LANG_DEP_INFO_ALREADY_REGISTERED
        Class language dependant info already registered.
      • CLASS_UNSUPPORTED_LANGUAGE

        public static final ErrorDefs.ERRORCODE CLASS_UNSUPPORTED_LANGUAGE
        Class found an Unsupported Language.
      • PROP_LANG_DEP_INFO_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE PROP_LANG_DEP_INFO_ALREADY_REGISTERED
        Property language dependant info already registered.
      • TYPE_LANG_DEP_INFO_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE TYPE_LANG_DEP_INFO_ALREADY_REGISTERED
        Type language dependant info already registered.
      • OP_LANG_DEP_INFO_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE OP_LANG_DEP_INFO_ALREADY_REGISTERED
        Operation language dependant info already registered.
      • INCOMPATIBLE_LANGUAGE_FOR_CLASS_WITH_NAMESPACE

        public static final ErrorDefs.ERRORCODE INCOMPATIBLE_LANGUAGE_FOR_CLASS_WITH_NAMESPACE
        Incompatible language of class with namespace where it is being registered.
      • PROPERTY_NOT_EXIST

        public static final ErrorDefs.ERRORCODE PROPERTY_NOT_EXIST
        Property does not exist.
      • PROPERTY_NOT_IN_CLASS

        public static final ErrorDefs.ERRORCODE PROPERTY_NOT_IN_CLASS
        Property not in class.
      • PROPERTY_ALREADY_IN_CLASS

        public static final ErrorDefs.ERRORCODE PROPERTY_ALREADY_IN_CLASS
        Property already in class.
      • DEFAULT_GETTER_SETTER_OPERATION_CANNOT_BE_REMOVED

        public static final ErrorDefs.ERRORCODE DEFAULT_GETTER_SETTER_OPERATION_CANNOT_BE_REMOVED
        Default getter and setter operations cannot be removed.
      • OPERATION_NOT_EXIST

        public static final ErrorDefs.ERRORCODE OPERATION_NOT_EXIST
        Operation does not exist.
      • OPERATION_NOT_IN_CLASS

        public static final ErrorDefs.ERRORCODE OPERATION_NOT_IN_CLASS
        Operation not in class.
      • OPERATION_ALREADY_IN_CLASS

        public static final ErrorDefs.ERRORCODE OPERATION_ALREADY_IN_CLASS
        Operation already exists in class.
      • IMPLEMENTATION_NOT_EXIST

        public static final ErrorDefs.ERRORCODE IMPLEMENTATION_NOT_EXIST
        Implementation does not exist.
      • INCOMPATIBLE_IMPLEMENTATION

        public static final ErrorDefs.ERRORCODE INCOMPATIBLE_IMPLEMENTATION
        Implementation not compatible with its operation.
      • NO_OTHER_IMPL_FOR_OPERATION

        public static final ErrorDefs.ERRORCODE NO_OTHER_IMPL_FOR_OPERATION
        Operation has no other implementation.
      • SOME_IMPLEMENTATIONS_ACCESS_OPERATION

        public static final ErrorDefs.ERRORCODE SOME_IMPLEMENTATIONS_ACCESS_OPERATION
        Some implementation accesses the operation.
      • NAMESPACE_EXISTS

        public static final ErrorDefs.ERRORCODE NAMESPACE_EXISTS
        Namespace already exists.
      • NAMESPACE_NOT_EXIST

        public static final ErrorDefs.ERRORCODE NAMESPACE_NOT_EXIST
        Namespace does not exist.
      • BAD_NAMESPACE_RESPONSIBLE

        public static final ErrorDefs.ERRORCODE BAD_NAMESPACE_RESPONSIBLE
        Wrong namespace responsible provided.
      • NAMESPACE_WITH_CLASSES

        public static final ErrorDefs.ERRORCODE NAMESPACE_WITH_CLASSES
        Namespace has classes.
      • NAMESPACE_WITH_CONTRACTS

        public static final ErrorDefs.ERRORCODE NAMESPACE_WITH_CONTRACTS
        Namespace has contracts.
      • DATASET_EXISTS

        public static final ErrorDefs.ERRORCODE DATASET_EXISTS
        DataSet already exists.
      • DATASET_NOT_EXIST

        public static final ErrorDefs.ERRORCODE DATASET_NOT_EXIST
        DataSet does not exist.
      • DATASET_NOT_EMPTY

        public static final ErrorDefs.ERRORCODE DATASET_NOT_EMPTY
        DataSet with objects.
      • BAD_DATASET_RESPONSIBLE

        public static final ErrorDefs.ERRORCODE BAD_DATASET_RESPONSIBLE
        Wrong dataset responsible provided.
      • INTERFACE_NOT_EXIST

        public static final ErrorDefs.ERRORCODE INTERFACE_NOT_EXIST
        Interface does not exist.
      • OPERATION_ALREADY_IN_INTERFACE

        public static final ErrorDefs.ERRORCODE OPERATION_ALREADY_IN_INTERFACE
        Operation already in interface.
      • OPERATION_NOT_IN_INTERFACE

        public static final ErrorDefs.ERRORCODE OPERATION_NOT_IN_INTERFACE
        Operation not in interface.
      • INTERFACE_WITH_CONTRACTS

        public static final ErrorDefs.ERRORCODE INTERFACE_WITH_CONTRACTS
        Interface has contracts.
      • BAD_INTERFACE

        public static final ErrorDefs.ERRORCODE BAD_INTERFACE
        Interface is "bad", or inconsistent with neighbors.
      • ACCOUNT_ALREADY_REGISTERED_IN_CONTRACT

        public static final ErrorDefs.ERRORCODE ACCOUNT_ALREADY_REGISTERED_IN_CONTRACT
        Account already registered in contract.
      • ACCOUNT_NOT_REGISTERED_IN_CONTRACT

        public static final ErrorDefs.ERRORCODE ACCOUNT_NOT_REGISTERED_IN_CONTRACT
        Account not registered in contract.
      • CONTRACT_NOT_EXIST

        public static final ErrorDefs.ERRORCODE CONTRACT_NOT_EXIST
        Contract does not exist.
      • CONTRACT_NOT_ACTIVE

        public static final ErrorDefs.ERRORCODE CONTRACT_NOT_ACTIVE
        Contract is not active.
      • CONTRACT_NOT_PUBLIC

        public static final ErrorDefs.ERRORCODE CONTRACT_NOT_PUBLIC
        Contract is not public.
      • INTERFACE_NOT_IN_CONTRACT

        public static final ErrorDefs.ERRORCODE INTERFACE_NOT_IN_CONTRACT
        Interface is not in contract.
      • INTERFACE_NOT_ACCESSIBLE

        public static final ErrorDefs.ERRORCODE INTERFACE_NOT_ACCESSIBLE
        Interface is not in contract.
      • CONTRACT_DUPLICATION

        public static final ErrorDefs.ERRORCODE CONTRACT_DUPLICATION
        Contract is duplicated.
      • SOME_INTERFACES_WITH_SAME_METACLASS

        public static final ErrorDefs.ERRORCODE SOME_INTERFACES_WITH_SAME_METACLASS
        Some interfaces belongs to the same metaclass.
      • SOME_OPERATION_WITH_NO_ACCESSIBLE_IMPL

        public static final ErrorDefs.ERRORCODE SOME_OPERATION_WITH_NO_ACCESSIBLE_IMPL
        Some operation has no accessible implementation.
      • IMPL_ACCESSIBLE_FROM_CONTRACTS

        public static final ErrorDefs.ERRORCODE IMPL_ACCESSIBLE_FROM_CONTRACTS
        Implementation is accessible from contracts.
      • ACCOUNT_ALREADY_HAS_A_DATACONTRACT_WITH_PROVIDER

        public static final ErrorDefs.ERRORCODE ACCOUNT_ALREADY_HAS_A_DATACONTRACT_WITH_PROVIDER
        Account already has a contract with a certain dataset as provider.
      • ACCOUNT_HAS_NO_DATACONTRACT_WITH_PROVIDER

        public static final ErrorDefs.ERRORCODE ACCOUNT_HAS_NO_DATACONTRACT_WITH_PROVIDER
        Account has no contract with a certain dataset as provider.
      • DATACONTRACT_NOT_EXIST

        public static final ErrorDefs.ERRORCODE DATACONTRACT_NOT_EXIST
        Contract does not exist.
      • DATACONTRACT_NOT_ACTIVE

        public static final ErrorDefs.ERRORCODE DATACONTRACT_NOT_ACTIVE
        Contract is not active.
      • DATACONTRACT_NOT_PUBLIC

        public static final ErrorDefs.ERRORCODE DATACONTRACT_NOT_PUBLIC
        Contract is not public.
      • DATASET_WITH_DATACONTRACTS

        public static final ErrorDefs.ERRORCODE DATASET_WITH_DATACONTRACTS
        Dataset with contracts.
      • EXECUTE_METHOD_ERROR

        public static final ErrorDefs.ERRORCODE EXECUTE_METHOD_ERROR
        Execute method error.
      • OBJECT_NOT_EXIST

        public static final ErrorDefs.ERRORCODE OBJECT_NOT_EXIST
        Object does not exist.
      • DATASERVICE_INIT_ERROR

        public static final ErrorDefs.ERRORCODE DATASERVICE_INIT_ERROR
        Data Service initialization error.
      • CLASS_DEPLOYMENT_ERROR

        public static final ErrorDefs.ERRORCODE CLASS_DEPLOYMENT_ERROR
        Error when deploying a class.
      • LANGUAGE_EXECUTION_EXCEPTION

        public static final ErrorDefs.ERRORCODE LANGUAGE_EXECUTION_EXCEPTION
        Error produced during an execution of a user registered class.
      • CLEAN_EXEC_CLASSES_DIR_ERROR

        public static final ErrorDefs.ERRORCODE CLEAN_EXEC_CLASSES_DIR_ERROR
        Cannot clean execution classes directory.
      • ERROR_DEPLOYING_LIB

        public static final ErrorDefs.ERRORCODE ERROR_DEPLOYING_LIB
        Error while deploying library.
      • STORAGE_LOCATION_ALREADY_EXIST

        public static final ErrorDefs.ERRORCODE STORAGE_LOCATION_ALREADY_EXIST
        Backend already exists.
      • STORAGE_LOCATION_NOT_EXIST

        public static final ErrorDefs.ERRORCODE STORAGE_LOCATION_NOT_EXIST
        Backend does not exist.
      • STORAGE_LOCATION_UNREACHABLE

        public static final ErrorDefs.ERRORCODE STORAGE_LOCATION_UNREACHABLE
        Backend unreachable.
      • EXECUTION_ENVIRONMENT_ALREADY_EXIST

        public static final ErrorDefs.ERRORCODE EXECUTION_ENVIRONMENT_ALREADY_EXIST
        Backend already exists.
      • EXECUTION_ENVIRONMENT_NOT_EXIST

        public static final ErrorDefs.ERRORCODE EXECUTION_ENVIRONMENT_NOT_EXIST
        Backend does not exist.
      • OBJECT_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE OBJECT_ALREADY_REGISTERED
        Object already registered in MDS.
      • ALIAS_ALREADY_EXISTS

        public static final ErrorDefs.ERRORCODE ALIAS_ALREADY_EXISTS
        Alias already exists.
      • MULTIPLE_ALIASES

        public static final ErrorDefs.ERRORCODE MULTIPLE_ALIASES
        Multiple aliases on one object.
      • OBJECT_HAS_REPLICAS

        public static final ErrorDefs.ERRORCODE OBJECT_HAS_REPLICAS
        Object has replicas.
      • OBJECT_IS_NOT_READONLY

        public static final ErrorDefs.ERRORCODE OBJECT_IS_NOT_READONLY
        Object is not readonly.
      • OBJECT_IS_READONLY

        public static final ErrorDefs.ERRORCODE OBJECT_IS_READONLY
        Object is readonly.
      • OBJECT_NOT_IN_BACKEND

        public static final ErrorDefs.ERRORCODE OBJECT_NOT_IN_BACKEND
        Object is not in backend.
      • EXTERNAL_DATACLAY_NOT_REGISTERED

        public static final ErrorDefs.ERRORCODE EXTERNAL_DATACLAY_NOT_REGISTERED
        External dataClay instance is not registered.
      • INTERFACE_ALREADY_IMPORTED

        public static final ErrorDefs.ERRORCODE INTERFACE_ALREADY_IMPORTED
        Interface already imported.
      • INTERFACE_NOT_IMPORTED

        public static final ErrorDefs.ERRORCODE INTERFACE_NOT_IMPORTED
        Interface not imported.
      • IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACE

        public static final ErrorDefs.ERRORCODE IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACE
        Interface to import was created in target namespace.
      • CLASS_OF_IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACE

        public static final ErrorDefs.ERRORCODE CLASS_OF_IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACE
        Class of imported interface was created in target namespace.
      • CLASS_WITH_SAME_NAME_IN_NAMESPACE

        public static final ErrorDefs.ERRORCODE CLASS_WITH_SAME_NAME_IN_NAMESPACE
        Class with same name in namespace.
      • IMPORTED_INTERFACE_IN_USE

        public static final ErrorDefs.ERRORCODE IMPORTED_INTERFACE_IN_USE
        Imported interface in use.
      • CLASS_NOT_IMPORTED

        public static final ErrorDefs.ERRORCODE CLASS_NOT_IMPORTED
        Class is not imported.
      • CLASS_NOT_CREATED_IN_NAMESPACE_NOR_IMPORTED

        public static final ErrorDefs.ERRORCODE CLASS_NOT_CREATED_IN_NAMESPACE_NOR_IMPORTED
        Class not created in namespace or not imported.
      • APPLIABLE_END_DATE_FOR_SESSION_IS_BEFORE_CURRENT_DATE

        public static final ErrorDefs.ERRORCODE APPLIABLE_END_DATE_FOR_SESSION_IS_BEFORE_CURRENT_DATE
        Appliable end deta for session is before current date.
      • SESSION_DOES_NOT_MATCH_REQ

        public static final ErrorDefs.ERRORCODE SESSION_DOES_NOT_MATCH_REQ
        Session does not match requirements.
      • SESSION_IS_NOT_ACTIVE

        public static final ErrorDefs.ERRORCODE SESSION_IS_NOT_ACTIVE
        Session is not active.
      • SESSION_NOT_EXISTS

        public static final ErrorDefs.ERRORCODE SESSION_NOT_EXISTS
        Session not of account.
      • DATASET_FOR_STORE_NOT_AMONG_DATACONTRACTS

        public static final ErrorDefs.ERRORCODE DATASET_FOR_STORE_NOT_AMONG_DATACONTRACTS
        The data set specified for storing new objects is not present among the given data contracts.
      • DATASET_NOT_AMONG_DATACONTRACTS

        public static final ErrorDefs.ERRORCODE DATASET_NOT_AMONG_DATACONTRACTS
        The data set of an object is not among the available data contracts.
      • DATASERVICE_BACKEND_NOT_RESPONDS

        public static final ErrorDefs.ERRORCODE DATASERVICE_BACKEND_NOT_RESPONDS
        DataService Backend not answering.
      • OBJECT_NOT_EXISTS_IN_DB

        public static final ErrorDefs.ERRORCODE OBJECT_NOT_EXISTS_IN_DB
        Object not exists in database.
      • OBJECT_EXISTS_IN_DB

        public static final ErrorDefs.ERRORCODE OBJECT_EXISTS_IN_DB
        Object already exists in database.
      • REQUEST_INTERRUPTED

        public static final ErrorDefs.ERRORCODE REQUEST_INTERRUPTED
        Request was interrupted.
      • UNEXPECTED_EXCEPTION

        public static final ErrorDefs.ERRORCODE UNEXPECTED_EXCEPTION
        Unexpected exception.
      • EVENT_LISTENER_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE EVENT_LISTENER_ALREADY_REGISTERED
        Event listener already registered.
      • EVENT_OBJS_MEET_CONDITION_ALREADY_REGISTERED

        public static final ErrorDefs.ERRORCODE EVENT_OBJS_MEET_CONDITION_ALREADY_REGISTERED
        Event objs meet condition already registered.
      • EVENT_LISTENER_NOT_REGISTERED

        public static final ErrorDefs.ERRORCODE EVENT_LISTENER_NOT_REGISTERED
        Event listener not registered.
      • EVENT_MESSAGE_NOT_REGISTERED

        public static final ErrorDefs.ERRORCODE EVENT_MESSAGE_NOT_REGISTERED
        Event message not registered.
      • METACLASSID_NOT_EXIST

        public static final ErrorDefs.ERRORCODE METACLASSID_NOT_EXIST
        Metaclass does not exist.
      • METADATAINFO_WAS_NOT_FOUND

        public static final ErrorDefs.ERRORCODE METADATAINFO_WAS_NOT_FOUND
        MetadataInfo was not found.
      • FILTERMETHOD_MUST_NOT_HAVE_PARAMETERS

        public static final ErrorDefs.ERRORCODE FILTERMETHOD_MUST_NOT_HAVE_PARAMETERS
        FilterMethod must not have parameters.
      • FILTERMETHOD_MUST_RETURN_A_BOOLEAN

        public static final ErrorDefs.ERRORCODE FILTERMETHOD_MUST_RETURN_A_BOOLEAN
        FilterMethod must return a boolean.
      • FILTERMETHOD_WAS_NOT_FOUND

        public static final ErrorDefs.ERRORCODE FILTERMETHOD_WAS_NOT_FOUND
        FilterMethod was not found.
      • UNKNOWN_EXCEPTION

        public static final ErrorDefs.ERRORCODE UNKNOWN_EXCEPTION
        Generic java exception.
    • Method Detail

      • values

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

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

        public int getErrorID()
        Get the ERRORCODE::errorID
        Returns:
        the errorID
      • setErrorID

        public void setErrorID​(int newerrorID)
        Set the ERRORCODE::errorID
        Parameters:
        newerrorID - the errorID to set