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