Package es.bsc.dataclay.exceptions
Enum ErrorDefs.ERRORCODE
- java.lang.Object
-
- java.lang.Enum<ErrorDefs.ERRORCODE>
-
- es.bsc.dataclay.exceptions.ErrorDefs.ERRORCODE
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorDefs.ERRORCODE>
- Enclosing class:
- ErrorDefs
public static enum ErrorDefs.ERRORCODE extends Enum<ErrorDefs.ERRORCODE>
Enum for the error codes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNT_ALREADY_HAS_A_DATACONTRACT_WITH_PROVIDERAccount already has a contract with a certain dataset as provider.ACCOUNT_ALREADY_REGISTERED_IN_CONTRACTAccount already registered in contract.ACCOUNT_EXISTSAccount already exists.ACCOUNT_HAS_NO_DATACONTRACT_WITH_PROVIDERAccount has no contract with a certain dataset as provider.ACCOUNT_NOT_EXISTAccount does not exist.ACCOUNT_NOT_REGISTERED_IN_CONTRACTAccount not registered in contract.ALIAS_ALREADY_EXISTSAlias already exists.APPLIABLE_END_DATE_FOR_SESSION_IS_BEFORE_CURRENT_DATEAppliable end deta for session is before current date.BAD_CONTRACTBad contract defined.BAD_DATASET_RESPONSIBLEWrong dataset responsible provided.BAD_DATESWrong dates in contract.BAD_DEFINED_DBHANDLER_CONFDbHandlerConf is bad defined.BAD_IMPORTSBad imports.BAD_INTERFACEInterface is "bad", or inconsistent with neighbors.BAD_NAMESPACE_RESPONSIBLEWrong namespace responsible provided.CLASS_DEPLOYMENT_ERRORError when deploying a class.CLASS_INCLUDEDClass is included.CLASS_LANG_DEP_INFO_ALREADY_REGISTEREDClass language dependant info already registered.CLASS_NOT_CREATED_IN_NAMESPACE_NOR_IMPORTEDClass not created in namespace or not imported.CLASS_NOT_EXISTClass does not exist.CLASS_NOT_IMPORTEDClass is not imported.CLASS_OF_IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACEClass of imported interface was created in target namespace.CLASS_UNSUPPORTED_LANGUAGEClass found an Unsupported Language.CLASS_WITH_SAME_NAME_IN_NAMESPACEClass with same name in namespace.CLEAN_EXEC_CLASSES_DIR_ERRORCannot clean execution classes directory.CONTRACT_DUPLICATIONContract is duplicated.CONTRACT_NOT_ACTIVEContract is not active.CONTRACT_NOT_EXISTContract does not exist.CONTRACT_NOT_PUBLICContract is not public.DATACONTRACT_NOT_ACTIVEContract is not active.DATACONTRACT_NOT_EXISTContract does not exist.DATACONTRACT_NOT_PUBLICContract is not public.DATASERVICE_BACKEND_NOT_RESPONDSDataService Backend not answering.DATASERVICE_INIT_ERRORData Service initialization error.DATASET_EXISTSDataSet already exists.DATASET_FOR_STORE_NOT_AMONG_DATACONTRACTSThe data set specified for storing new objects is not present among the given data contracts.DATASET_NOT_AMONG_DATACONTRACTSThe data set of an object is not among the available data contracts.DATASET_NOT_EMPTYDataSet with objects.DATASET_NOT_EXISTDataSet does not exist.DATASET_WITH_DATACONTRACTSDataset with contracts.DB_EXCEPTIONDB backend failure.DEFAULT_GETTER_SETTER_OPERATION_CANNOT_BE_REMOVEDDefault getter and setter operations cannot be removed.ERROR_DEPLOYING_LIBError while deploying library.EVENT_LISTENER_ALREADY_REGISTEREDEvent listener already registered.EVENT_LISTENER_NOT_REGISTEREDEvent listener not registered.EVENT_MESSAGE_NOT_REGISTEREDEvent message not registered.EVENT_OBJS_MEET_CONDITION_ALREADY_REGISTEREDEvent objs meet condition already registered.EXECUTE_METHOD_ERRORExecute method error.EXECUTION_ENVIRONMENT_ALREADY_EXISTBackend already exists.EXECUTION_ENVIRONMENT_NOT_EXISTBackend does not exist.EXTERNAL_DATACLAY_NOT_REGISTEREDExternal dataClay instance is not registered.FILTERMETHOD_MUST_NOT_HAVE_PARAMETERSFilterMethod must not have parameters.FILTERMETHOD_MUST_RETURN_A_BOOLEANFilterMethod must return a boolean.FILTERMETHOD_WAS_NOT_FOUNDFilterMethod was not found.IMPL_ACCESSIBLE_FROM_CONTRACTSImplementation is accessible from contracts.IMPLEMENTATION_NOT_EXISTImplementation does not exist.IMPORTED_INTERFACE_IN_USEImported interface in use.IMPORTED_INTERFACE_WAS_CREATED_IN_TARGET_NAMESPACEInterface to import was created in target namespace.INCOMPATIBLE_IMPLEMENTATIONImplementation not compatible with its operation.INCOMPATIBLE_LANGUAGE_FOR_CLASS_WITH_NAMESPACEIncompatible language of class with namespace where it is being registered.INTERFACE_ALREADY_IMPORTEDInterface already imported.INTERFACE_NOT_ACCESSIBLEInterface is not in contract.INTERFACE_NOT_EXISTInterface does not exist.INTERFACE_NOT_IMPORTEDInterface not imported.INTERFACE_NOT_IN_CONTRACTInterface is not in contract.INTERFACE_WITH_CONTRACTSInterface has contracts.INVALID_CREDENTIALSAccount invalid credentials.INVALID_PARAMETER_EXCEPTIONSome parameter has non-valid value.LANGUAGE_EXECUTION_EXCEPTIONError produced during an execution of a user registered class.METACLASSID_NOT_EXISTMetaclass does not exist.METADATAINFO_WAS_NOT_FOUNDMetadataInfo was not found.MULTIPLE_ALIASESMultiple aliases on one object.NAMESPACE_EXISTSNamespace already exists.NAMESPACE_NOT_EXISTNamespace does not exist.NAMESPACE_WITH_CLASSESNamespace has classes.NAMESPACE_WITH_CONTRACTSNamespace has contracts.NO_OTHER_IMPL_FOR_OPERATIONOperation has no other implementation.NULL_OR_EMPTY_PARAMETER_EXCEPTIONSome parameter is null or empty.OBJECT_ALREADY_REGISTEREDObject already registered in MDS.OBJECT_EXISTS_IN_DBObject already exists in database.OBJECT_HAS_REPLICASObject has replicas.OBJECT_IS_NOT_READONLYObject is not readonly.OBJECT_IS_READONLYObject is readonly.OBJECT_NOT_EXISTObject does not exist.OBJECT_NOT_EXISTS_IN_DBObject not exists in database.OBJECT_NOT_IN_BACKENDObject is not in backend.OP_LANG_DEP_INFO_ALREADY_REGISTEREDOperation language dependant info already registered.OPERATION_ALREADY_IN_CLASSOperation already exists in class.OPERATION_ALREADY_IN_INTERFACEOperation already in interface.OPERATION_NOT_EXISTOperation does not exist.OPERATION_NOT_IN_CLASSOperation not in class.OPERATION_NOT_IN_INTERFACEOperation not in interface.PROP_LANG_DEP_INFO_ALREADY_REGISTEREDProperty language dependant info already registered.PROPERTY_ALREADY_IN_CLASSProperty already in class.PROPERTY_NOT_EXISTProperty does not exist.PROPERTY_NOT_IN_CLASSProperty not in class.REQUEST_INTERRUPTEDRequest was interrupted.SESSION_DOES_NOT_MATCH_REQSession does not match requirements.SESSION_IS_NOT_ACTIVESession is not active.SESSION_NOT_EXISTSSession not of account.SOME_IMPLEMENTATIONS_ACCESS_OPERATIONSome implementation accesses the operation.SOME_INTERFACES_WITH_SAME_METACLASSSome interfaces belongs to the same metaclass.SOME_OPERATION_WITH_NO_ACCESSIBLE_IMPLSome operation has no accessible implementation.STORAGE_LOCATION_ALREADY_EXISTBackend already exists.STORAGE_LOCATION_NOT_EXISTBackend does not exist.STORAGE_LOCATION_UNREACHABLEBackend unreachable.TYPE_LANG_DEP_INFO_ALREADY_REGISTEREDType language dependant info already registered.UNEXPECTED_EXCEPTIONUnexpected exception.UNKNOWN_EXCEPTIONGeneric java exception.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorID()Get the ERRORCODE::errorIDvoidsetErrorID(int newerrorID)Set the ERRORCODE::errorIDstatic ErrorDefs.ERRORCODEvalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorDefs.ERRORCODE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DB_EXCEPTION
public static final ErrorDefs.ERRORCODE DB_EXCEPTION
DB backend failure.
-
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.
-
BAD_CONTRACT
public static final ErrorDefs.ERRORCODE BAD_CONTRACT
Bad contract defined.
-
BAD_DATES
public static final ErrorDefs.ERRORCODE BAD_DATES
Wrong dates in contract.
-
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.
-
BAD_IMPORTS
public static final ErrorDefs.ERRORCODE BAD_IMPORTS
Bad imports.
-
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.
-
CLASS_INCLUDED
public static final ErrorDefs.ERRORCODE CLASS_INCLUDED
Class is included.
-
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 nameNullPointerException- 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
-
-