public interface IStatusCode
These status codes give a rough indication of the type of error that occurred and can be referred to in manuals.
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_TO_ENUM_LITERAL_NOT_THROUGH_CLASSIFIER
Attempted access of an enum literal via an instance of the enum, not the enum type
|
static int |
ACTION_FRAGMENT_PARAMETER_MISMATCH
Something wrong with macro invocation parameters
|
static int |
ADD_NEEDS_COLLECTION
Addition only allowed with collections
|
static int |
ADD_TYPES_INCOMPATIBLE
Addition of object to incompatible collection
|
static int |
AMBIGUOUS_EXISTENCE
Ambiguous implied existence reference
|
static int |
ARITHMETIC_EXPRESSION_ARGS_INVALID
Arithmetic expression over invalid arguments
|
static int |
ASSIGNMENT_TYPE_INCOMPATIBLE
Assignment between incompatible types (e.g.
|
static int |
ATTRIBUTE_AMBIGUOUS
An attribute reference is ambiguous (occurs in multiple contexts).
|
static int |
BINARY_OPERATOR_ARGUMENTS_NOT_BOOLEAN
The arguments to a binary operator (and, or...) were not boolean
|
static int |
BINARY_PREDICATE_ARGUMENT_COLLECTION
Collection used as argument in binary predicate
|
static int |
BINARY_PREDICATE_ARGUMENT_COMPLEX
Complex object used as argument in binary predicate
|
static int |
BINARY_PREDICATE_ARGUMENT_INCOMPATIBLE
Binary predicate arguments are not compatible
|
static int |
CANNOT_CAST_COLLECTION
Collection attributes cannot be cast
|
static int |
CAST_COLLECTION
Cannot cast a collection
|
static int |
CAST_REQUIRES_SUBTYPE
Cast expression needs a subtype to cast to
|
static int |
COLLECTION_EXPECTED
Data type or other complex element found where a collection was expected
|
static int |
CONTEXT_NAVIGATION
Context must refer to a single model element, without navigation
|
static int |
CONTEXT_SIMPLE_TYPE
Context element refers to a simple type
|
static int |
CONTEXT_UNKNOWN
Context element not found
|
static int |
CREATE_REFERENCE_INVALID
Incompatible type being created (e.g.
|
static int |
DATATYPE_NAVIGATION
Tried to navigate attributes of a simple data type (impossible)
|
static int |
DUPLICATE_ACTION_FRAGMENT
Duplicate fragment identifier
|
static int |
DUPLICATE_FRAGMENT
Duplicate fragment id
|
static int |
DUPLICATE_GLOBAL_VARIABLE
Duplicate global variable
|
static int |
DUPLICATE_RULE
Duplicate rule id
|
static int |
DUPLICATE_RULE_PARAMETER
Additional rule parameter is a duplicate
|
static int |
DUPLICATE_RULESET
Duplicate rule set identifier
|
static int |
DUPLICATE_VARIABLE
Duplicate variable declaration
|
static int |
ELEMENT_AMBIGUOUS
Global element reference ambiguous
|
static int |
ELSE_ARGUMENTS_NOT_BOOLEAN
The arguments to an else were not boolean
|
static int |
FRAGMENT_CYCLICAL_REFERENCE
Property reference cycle
|
static int |
FRAGMENT_PARAMETER_MISMATCH
Wrong number/type of property parameters
|
static int |
FRAGMENT_RESULT_COMPLEX
Complex results not allowed in property
|
static int |
GLOBAL_VARIABLE_NAVIGATION
Tried to use global variable as a non-constant
|
static int |
IF_ARGUMENTS_NOT_BOOLEAN
The arguments to an if were not boolean
|
static int |
IF_STATEMENT_MULTIPLE_TYPES
If statement with multiple return types
|
static int |
ILLEGAL_ASSIGNMENT_TARGET
Cannot set model elements or variables
|
static int |
ILLEGAL_ELEMENT_REFERENCE
Reference to an element where only an attribute should be allowed
|
static int |
ILLEGAL_STATIC_REFERENCE
Reference to static variable where none are allowed
|
static int |
ILLEGAL_VARIABLE_NAVIGATION
Tried to navigate from a variable bound to an expression
|
static int |
IMPLICIT_ITERATION
Implicit iteration
|
static int |
INVALID_ACTION_FRAGMENT_REF
Reference to non-existent fragment
|
static int |
INVALID_FRAGMENT_REF
Invalid property reference
|
static int |
INVALID_PACKAGE_REFERENCE
A name referenced is not a package (but should be)
|
static int |
INVALID_VARIABLE_NAME
Invalid variable name (e.g.
|
static int |
IS_IN_EXPRESSION_INCOMPATIBLE
"is in" expression not compatible
|
static int |
IS_IN_EXPRESSION_TYPE_MISMATCH
"is in" expression has a type mismatch with the list of values
|
static int |
IS_IN_LIST_ENTRY_INVALID
"is in" has an invalid entry in the list
|
static int |
ITERATION_NEEDS_COLLECTION
Iteration only allowed over collections
|
static int |
LEXER_ERROR
Lexer error - invalid character
|
static int |
MODEL_NOT_FOUND
The model file was not found
|
static int |
NUMBER_EXPECTED
Number type was expected
|
static int |
OPERATOR_COLLECTION_PARAMETER
Cannot pass collections as parameters
|
static int |
OPERATOR_PARAMETER_MISMATCH
Mismatch between parameter definition and operator invocation
|
static int |
OPERATOR_TYPE_MISMATCH
Operator parameter type mismatch
|
static int |
OPERATOR_TYPE_UNKNOWN
Operator parameter/return type is unknown
|
static int |
OPERATOR_UNKNOWN
Unknown operator reference
|
static int |
PARSER_ERROR
Unexpected token
|
static int |
PROPERTY_CONTEXT_MISMATCH
Tried to apply a property to the wrong type of object
|
static int |
PROPERTY_NOT_BOOLEAN
A property has been declared with a non-boolean constraint
|
static int |
QUANTIFIER_ARGUMENT_NOT_BOOLEAN
Quantifiers (exists, forall, not exists) expect a boolean condition as a
sub-element.
|
static int |
REMOVE_CANNOT_REMOVE_COLLECTION
Cannot remove a collection
|
static int |
REMOVE_NEEDS_COLLECTION
Removal only allowed from collections
|
static int |
REMOVE_TYPES_INCOMPATIBLE
Removing incompatible type from collection
|
static int |
RETRIEVE_REFERENCE_INVALID
Incompatible type being selected from (e.g.
|
static int |
RULE_NOT_BOOLEAN
A rule has been declared with a non-boolean constraint
|
static int |
RULE_PARAMETER_NAME_CLASH
Rule parameter name clashes with an global element or an attribute of the rule context
|
static int |
RULESET_MIXES_RULETYPES
Constraint and action rules mixed in set
|
static int |
RULESET_PRECONDITION_NOT_BOOLEAN
Rule set precondition is not a boolean
|
static int |
SELECTION_CONSTRAINT_NOT_BOOLEAN
Selection expression constraints must be boolean.
|
static int |
STATIC_REFERENCE_TO_NONSTATIC_ATTRIBUTE
Tried to make a static reference to a non-static attribute
|
static int |
THEN_ARGUMENTS_NOT_BOOLEAN
The arguments to a then were not boolean
|
static int |
UNKNOWN_ATTRIBUTE
Reference to an unknown attribute
|
static int |
UNKNOWN_DATATYPE
Model element or operator type is unknown
|
static int |
UNKNOWN_ELEMENT_OR_ATTRIBUTE
Reference to an unknown element or attribute
|
static int |
VARIABLE_NAME_SHADOWS_MODEL_ELEMENT
Rule parameter name clashes with an global element or an attribute of the rule context
|
static int |
VOID_OPERATOR_IN_EXPRESSION
Operator void type in expression
|
static int |
WHERE_CLAUSE_DISALLOWED
Illegal to delete a single attribute with a where clause
|
static int |
WHERE_NOT_BOOLEAN
Where clause is not boolean
|
static final int LEXER_ERROR
static final int PARSER_ERROR
static final int INVALID_VARIABLE_NAME
static final int DUPLICATE_RULE
static final int DUPLICATE_FRAGMENT
static final int INVALID_FRAGMENT_REF
static final int AMBIGUOUS_EXISTENCE
static final int DUPLICATE_RULESET
static final int DUPLICATE_GLOBAL_VARIABLE
static final int FRAGMENT_CYCLICAL_REFERENCE
static final int DUPLICATE_RULE_PARAMETER
static final int OPERATOR_UNKNOWN
static final int OPERATOR_PARAMETER_MISMATCH
static final int DUPLICATE_ACTION_FRAGMENT
static final int INVALID_ACTION_FRAGMENT_REF
static final int MODEL_NOT_FOUND
static final int CONTEXT_UNKNOWN
static final int CONTEXT_SIMPLE_TYPE
static final int ELEMENT_AMBIGUOUS
static final int UNKNOWN_ELEMENT_OR_ATTRIBUTE
static final int UNKNOWN_ATTRIBUTE
static final int ILLEGAL_ELEMENT_REFERENCE
static final int DATATYPE_NAVIGATION
static final int STATIC_REFERENCE_TO_NONSTATIC_ATTRIBUTE
static final int INVALID_PACKAGE_REFERENCE
static final int CONTEXT_NAVIGATION
static final int ATTRIBUTE_AMBIGUOUS
static final int ILLEGAL_VARIABLE_NAVIGATION
static final int DUPLICATE_VARIABLE
static final int GLOBAL_VARIABLE_NAVIGATION
static final int ILLEGAL_STATIC_REFERENCE
static final int RULE_PARAMETER_NAME_CLASH
static final int VARIABLE_NAME_SHADOWS_MODEL_ELEMENT
static final int ACCESS_TO_ENUM_LITERAL_NOT_THROUGH_CLASSIFIER
static final int CREATE_REFERENCE_INVALID
static final int RETRIEVE_REFERENCE_INVALID
static final int RULE_NOT_BOOLEAN
static final int PROPERTY_NOT_BOOLEAN
static final int BINARY_OPERATOR_ARGUMENTS_NOT_BOOLEAN
static final int IF_ARGUMENTS_NOT_BOOLEAN
static final int THEN_ARGUMENTS_NOT_BOOLEAN
static final int ELSE_ARGUMENTS_NOT_BOOLEAN
static final int PROPERTY_CONTEXT_MISMATCH
static final int ARITHMETIC_EXPRESSION_ARGS_INVALID
static final int BINARY_PREDICATE_ARGUMENT_COMPLEX
static final int BINARY_PREDICATE_ARGUMENT_COLLECTION
static final int COLLECTION_EXPECTED
static final int IMPLICIT_ITERATION
static final int NUMBER_EXPECTED
static final int QUANTIFIER_ARGUMENT_NOT_BOOLEAN
static final int BINARY_PREDICATE_ARGUMENT_INCOMPATIBLE
static final int IS_IN_EXPRESSION_INCOMPATIBLE
static final int RULESET_PRECONDITION_NOT_BOOLEAN
static final int FRAGMENT_PARAMETER_MISMATCH
static final int FRAGMENT_RESULT_COMPLEX
static final int IF_STATEMENT_MULTIPLE_TYPES
static final int CAST_REQUIRES_SUBTYPE
static final int CANNOT_CAST_COLLECTION
static final int UNKNOWN_DATATYPE
static final int OPERATOR_TYPE_MISMATCH
static final int VOID_OPERATOR_IN_EXPRESSION
static final int OPERATOR_TYPE_UNKNOWN
static final int IS_IN_EXPRESSION_TYPE_MISMATCH
static final int IS_IN_LIST_ENTRY_INVALID
static final int CAST_COLLECTION
static final int OPERATOR_COLLECTION_PARAMETER
static final int SELECTION_CONSTRAINT_NOT_BOOLEAN
static final int WHERE_NOT_BOOLEAN
static final int WHERE_CLAUSE_DISALLOWED
static final int ITERATION_NEEDS_COLLECTION
static final int REMOVE_NEEDS_COLLECTION
static final int REMOVE_TYPES_INCOMPATIBLE
static final int ASSIGNMENT_TYPE_INCOMPATIBLE
static final int ADD_NEEDS_COLLECTION
static final int ADD_TYPES_INCOMPATIBLE
static final int ILLEGAL_ASSIGNMENT_TARGET
static final int ACTION_FRAGMENT_PARAMETER_MISMATCH
static final int RULESET_MIXES_RULETYPES
static final int REMOVE_CANNOT_REMOVE_COLLECTION
Copyright © 2006-2013. All Rights Reserved.