Class ErrorCodes
java.lang.Object
net.ssehub.easy.dslCore.translation.ErrorCodes
Defines error codes for messages used in unit testing.
- Author:
- Holger Eichelberger
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIn case that the identifier "ITER" cannot be resolved (collection iteration).static final intIn case of problems with an initializer container dimension.static final intDiscouraged use (usually a warning).static final intErrors when a given format is not fulfilled.static final intError received from parser and added to message list.static final intErrors during project import.static final intStructural error in initializer, e.g.static final intA semantically missing element, such as a return expression.static final intErrors when names clash.static final intAn element is defined multiple times.static final intErrors during rules.static final intIn case of syntax problems leading to missing parts in the AST.static final intElements of different types cannot be assigned.static final intUnknown elements such as compound slots (but not types).static final intUnknown types. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNKNOWN_TYPE
public static final int UNKNOWN_TYPEUnknown types.- See Also:
-
INITIALIZER_CONSISTENCY
public static final int INITIALIZER_CONSISTENCYStructural error in initializer, e.g. missing names.- See Also:
-
TYPE_CONSISTENCY
public static final int TYPE_CONSISTENCYElements of different types cannot be assigned.- See Also:
-
REDEFINITION
public static final int REDEFINITIONAn element is defined multiple times.- See Also:
-
NAME_CLASH
public static final int NAME_CLASHErrors when names clash.- See Also:
-
FROM_PARSER
public static final int FROM_PARSERError received from parser and added to message list.- See Also:
-
FORMAT_ERROR
public static final int FORMAT_ERRORErrors when a given format is not fulfilled.- See Also:
-
UNKNOWN_ELEMENT
public static final int UNKNOWN_ELEMENTUnknown elements such as compound slots (but not types).- See Also:
-
IMPORT
public static final int IMPORTErrors during project import.- See Also:
-
RULES
public static final int RULESErrors during rules.- See Also:
-
CANNOT_RESOLVE_ITER
public static final int CANNOT_RESOLVE_ITERIn case that the identifier "ITER" cannot be resolved (collection iteration).- See Also:
-
DIMENSION
public static final int DIMENSIONIn case of problems with an initializer container dimension.- See Also:
-
SYNTAX
public static final int SYNTAXIn case of syntax problems leading to missing parts in the AST.- See Also:
-
DISCOURAGED
public static final int DISCOURAGEDDiscouraged use (usually a warning).- See Also:
-
MISSING
public static final int MISSINGA semantically missing element, such as a return expression.- See Also:
-
-
Constructor Details
-
ErrorCodes
protected ErrorCodes()Prevents creating instances of this class.
-