Package com.aquima.interactions.rule.ds
Class RuleEngineErrorCodes
java.lang.Object
com.aquima.interactions.rule.ds.RuleEngineErrorCodes
This class defines the various initialization errors that may occur when creating a rule engine from data source.
- Since:
- 5.1
- Author:
- Jon van Leuven, O. Kerpershoek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ErrorCode
Indicates a problem with businessrule {0} = busrule namestatic final ErrorCode
This error code is used to indicate an expression of a business rule could not be parsed.static final ErrorCode
This error code is used to indicate the constraint name is missing.static final ErrorCode
This error code is used to indicate no implementation could be found for an external constraint.static final ErrorCode
Indicates a problem with constraint {0} = constraint-namestatic final ErrorCode
This error code is used to indicate a constraint should specify exactly one target.static final ErrorCode
This error code is used to indicate a constraint could not be loaded due to an exception.static final ErrorCode
static final ErrorCode
This error code is used to indicate no implementation could be found for an external rule.static final ErrorCode
Indicates a problem with decisiontable {0} = decisiontable namestatic final ErrorCode
Indicates a problem with decisiontable {0} = decisiontable namestatic final ErrorCode
This error code is used to indicate an expression of a decision table rule could not be parsed.static final ErrorCode
static final ErrorCode
Indicates a problem with default rule {0} = attribute namestatic final ErrorCode
This error code is used to indicate a default value could not be parsed.static final ErrorCode
Indicates a problem with domain constraint {0} = constraint-namestatic final ErrorCode
This error code is used to indicate an action contains an invalid (empty) attribute.static final ErrorCode
This error code is used to indicate an unknown (?) action is not supported by the decision table.static final ErrorCode
This error code is used to indicate an action alternative contains an invalid (empty) expression.static final ErrorCode
This error code is used to indicate a rule with the same name is already present.static final ErrorCode
This error code is used to indicate an expression template with the same name is already present.static final ErrorCode
This error code is used when multiple definitions of the same rule group are detected.static final ErrorCode
This error code is used to indicate a rule with the same name is already present.static final ErrorCode
This error code is used to indicate an expression template had errors.static final ErrorCode
This error code is used to indicate a the expression of an expression template is mandatorystatic final ErrorCode
This error code is used to indicate a the name of an expression template is mandatorystatic final ErrorCode
This error code is used to indicate a justification could not be parsed.static final ErrorCode
This error code is used for rule group conditions that cannot be parsed.static final ErrorCode
This error code is used to indicate the expression of a (business) validation could not be parsed.static final ErrorCode
This error code is used to indicate the message of a validation rule could not be parsed.static final ErrorCode
This error code is used to indicate a rule specified actions for other attributes then the default the rule is defined for.static final ErrorCode
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to.static final ErrorCode
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to.static final ErrorCode
This error code is used to indicate a list to single value conversion will be attempted at runtime.static final ErrorCode
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to.static final ErrorCode
This error code is used to indicate a rule did not provide type information for an attribute.static final ErrorCode
This error code is used to indicate the target array contains attributes of multiple entities.static final ErrorCode
This error code is used to indicate the scope array contains invalid entries.static final ErrorCode
This error code is used to indicate the scope array contains invalid entries.static final ErrorCode
This error code is used to indicate the target array contains invalid entries.static final ErrorCode
This error code is used to indicate the rule group references an unknown entity.static final ErrorCode
This error code is used to indicate an object defined in the source scope is not visible in the scope of the rule group.static final ErrorCode
This error code is used to indicate that a rule should define at least one source scope object.static final ErrorCode
This error code is used to indicate that a rule should define at least one source scope object.static final ErrorCode
Indicates a problem with inference rule {0} = rule namestatic final ErrorCode
This error code is used to indicate the rule references an unknown attribute.static final ErrorCode
This error code is used to indicate the rule references an unknown entity.static final ErrorCode
This error code is used to indicate a source scope object is invalid.static final ErrorCode
This error code is used to indicate an object defined in the source scope is not visible in the scope of the rule.static final ErrorCode
This error code is used to indicate an inference rule has multiple targets but is defined as default.static final ErrorCode
This error code is used to indicate an inference rule could not be loaded due to an exception.static final ErrorCode
This error code is used to indicate the type of the default does not match the type of the attribute.static final ErrorCode
This error code is used to indicate an inference rule does have an invalid type.static final ErrorCode
This error code is used to indicate an inference rule rule does not have a valid name.static final ErrorCode
This error code is used to indicate the attribute of the default does not match the specified target.static final ErrorCode
This error code is used to indicate an inference rule rule does not have a valid type.static final ErrorCode
This error code is used to indicate no implementation could be found for an external rule.static final ErrorCode
This error code is used to indicate an unknown rule group is used.static final ErrorCode
This error code is used to indicate a validation rule is defined using an unknown validator type.static final ErrorCode
This error code is used to indicate a deprecated expression parser is used.static final ErrorCode
This error code is used to indicate a value for a required parameter is missing.static final ErrorCode
This error code is used to indicate a validation rule does not have a (valid) expression.static final ErrorCode
This error code is used to indicate that no implementation is available for a validation rule.static final ErrorCode
This error code is used to indicate a validation rule does not have a valid message.static final ErrorCode
This error code is used to indicate a validation rule does not have a valid name.static final ErrorCode
This error code is used to indicate a value is present for a non existing parameter.static final ErrorCode
This error code is used to indicate a validation rule could not be loaded due to an exception. -
Method Summary
-
Field Details
-
UNKNOWN_VALIDATOR
This error code is used to indicate a validation rule is defined using an unknown validator type. -
INVALID_VALIDATOR_MESSAGE
This error code is used to indicate the message of a validation rule could not be parsed. -
RESULT_TYPE_INVALID
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to. (error) -
RESULT_TYPE_TYPE_CONVERSION
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to. (warning) -
RESULT_TYPE_INCOMPATIBLE_ENTITY
This message is used to indicate an inference rule result in a value that is not compatible with the attribute the value is to be assigned to. (warning) -
RESULT_TYPE_LIST_CONVERSION
This error code is used to indicate a list to single value conversion will be attempted at runtime. -
RESULT_TYPE_UNKNOWN
This error code is used to indicate a rule did not provide type information for an attribute. -
RULE_MUST_DEFINE_SCOPE
This error code is used to indicate that a rule should define at least one source scope object. -
RULE_MUST_DEFINE_TARGET
This error code is used to indicate that a rule should define at least one source scope object. -
RULE_REFERENCES_UNKNOWN_ENTITY
This error code is used to indicate the rule references an unknown entity. -
RULE_REFERENCES_UNKNOWN_ATTRIBUTE
This error code is used to indicate the rule references an unknown attribute. -
RULE_CONTAINS_INVALID_SCOPE
This error code is used to indicate the scope array contains invalid entries. -
RULE_CONTAINS_DUPLICATE_TARGET
This error code is used to indicate the scope array contains invalid entries. -
RULE_CONTAINS_INVALID_TARGET
This error code is used to indicate the target array contains invalid entries. -
RULE_CONTAINS_CLASHING_TARGETS
This error code is used to indicate the target array contains attributes of multiple entities. -
RULE_SCOPE_CONTAINS_DOTTED_NOTATION
This error code is used to indicate a source scope object is invalid. -
RULE_SCOPE_NOT_REACHABLE
This error code is used to indicate an object defined in the source scope is not visible in the scope of the rule. -
CONSTRAINT_NAME_REQUIRED
This error code is used to indicate the constraint name is missing. -
CONSTRAINT_NOT_FOUND
This error code is used to indicate no implementation could be found for an external constraint. -
DUPLICATE_CONSTRAINT
This error code is used to indicate a rule with the same name is already present. -
DUPLICATE_EXPRESSION_TEMPLATE
This error code is used to indicate an expression template with the same name is already present. -
DUPLICATE_SOURCE
This error code is used to indicate a rule with the same name is already present. -
SOURCE_NOT_FOUND
This error code is used to indicate no implementation could be found for an external rule. -
DATARULE_NOT_FOUND
This error code is used to indicate no implementation could be found for an external rule. -
SOURCE_ERROR
This error code is used to indicate an inference rule could not be loaded due to an exception. -
CONSTRAINT_REQUIRES_SINGLE_TARGET
This error code is used to indicate a constraint should specify exactly one target. -
CONSTRAINTERROR
This error code is used to indicate a constraint could not be loaded due to an exception. -
VALIDATIONERROR
This error code is used to indicate a validation rule could not be loaded due to an exception. -
VALIDATION_NO_IMPLEMENTATION
This error code is used to indicate that no implementation is available for a validation rule. -
VALIDATION_NO_NAME
This error code is used to indicate a validation rule does not have a valid name. -
VALIDATION_NO_MESSAGE
This error code is used to indicate a validation rule does not have a valid message. -
VALIDATION_MISSING_PARAMETER
This error code is used to indicate a value for a required parameter is missing. -
VALIDATION_OBSOLETE_PARAMETER
This error code is used to indicate a value is present for a non existing parameter. -
VALIDATION_NO_EXPRESSION
This error code is used to indicate a validation rule does not have a (valid) expression. -
INVALID_VALIDATOR_EXPRESSION
This error code is used to indicate the expression of a (business) validation could not be parsed. -
SOURCE_NO_NAME
This error code is used to indicate an inference rule rule does not have a valid name. -
SOURCE_NO_TYPE
This error code is used to indicate an inference rule rule does not have a valid type. -
SOURCE_INVALID_TYPE
This error code is used to indicate an inference rule does have an invalid type. -
SOURCE_DEFAULT_WITH_MULTIPLE_TARGETS
This error code is used to indicate an inference rule has multiple targets but is defined as default. -
SOURCE_INVALID_CAST
This error code is used to indicate the type of the default does not match the type of the attribute. -
SOURCE_NO_TARGET
This error code is used to indicate the attribute of the default does not match the specified target. -
DEFAULTPARSEERROR
This error code is used to indicate a default value could not be parsed. -
INVALID_JUSTIFICATION
This error code is used to indicate a justification could not be parsed. -
BUSINESSRULEPARSEERROR
This error code is used to indicate an expression of a business rule could not be parsed. -
DECISIONTABLEPARSEERROR
This error code is used to indicate an expression of a decision table rule could not be parsed. -
DT_ACTION_UNKNOWN
This error code is used to indicate an unknown (?) action is not supported by the decision table. -
DT_ACTION_TARGET_MISSING
This error code is used to indicate an action contains an invalid (empty) attribute. -
DT_ACTION_VALUE_MISSING
This error code is used to indicate an action alternative contains an invalid (empty) expression. -
EXPRESSION_TEMPLATE_NAME_MANDATORY
This error code is used to indicate a the name of an expression template is mandatory -
EXPRESSION_TEMPLATE_EXPRESSION_MANDATORY
This error code is used to indicate a the expression of an expression template is mandatory -
REDUNDANT_TARGETS
This error code is used to indicate a rule specified actions for other attributes then the default the rule is defined for. -
DECISIONTABLE_PROBLEM
Indicates a problem with decisiontable {0} = decisiontable name -
DECISIONTABLE_ERROR
Indicates a problem with decisiontable {0} = decisiontable name -
BUSINESSRULE_PROBLEM
Indicates a problem with businessrule {0} = busrule name -
DEFAULT_PROBLEM
Indicates a problem with default rule {0} = attribute name -
RULE_PROBLEM
Indicates a problem with inference rule {0} = rule name -
CONSTRAINT_PROBLEM
Indicates a problem with constraint {0} = constraint-name -
DOMAIN_CONSTRAINT_PROBLEM
Indicates a problem with domain constraint {0} = constraint-name -
EXPRESSION_TEMPLATE_ERROR
This error code is used to indicate an expression template had errors. -
UNSUPPORTED_PARSER
This error code is used to indicate a deprecated expression parser is used. -
UNKNOWN_RULE_GROUP
This error code is used to indicate an unknown rule group is used. -
INVALID_RULE_GROUP_CONDITION
This error code is used for rule group conditions that cannot be parsed. -
DUPLICATE_RULE_GROUP
This error code is used when multiple definitions of the same rule group are detected. -
RULE_GROUP_SCOPE_NOT_REACHABLE
This error code is used to indicate an object defined in the source scope is not visible in the scope of the rule group. -
RULE_GROUP_REFERENCES_UNKNOWN_ENTITY
This error code is used to indicate the rule group references an unknown entity. -
DATARULE_INVALIDCONDITIONEXPRESSION
-
DEFAULT_INVALIDDOMAINVALUE
-