Class ErrorCodes
- java.lang.Object
-
- net.ssehub.easy.dslCore.translation.ErrorCodes
-
- de.uni_hildesheim.sse.translation.ErrorCodes
-
public class ErrorCodes extends net.ssehub.easy.dslCore.translation.ErrorCodesDefines error codes for messages used in unit testing.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description static intAMBIGUITYResolving an element leads to an ambiguity.static intASSIGNMENTError or warning due to a variable assignment.static intATTRIBUTIONErrors during attribution of elements (attributeTo).static intCONSTANTIn case that a constant shall be modified.static intDEREFERENCEIn case that dereferences are not possible.static intFREEZEAttempt to freeze the wrong type of elements.static intINTERNALInternal error, should not occur.static intLHS_NOT_COLLECTIONOperand of collection operation is not a collection.static intREF_BYIn case of refBy problems.static intTYPE_QUALIFICATIONIn case of undesired explicit type qualifications.static intWARNING_DIFFERENT_TYPESUsage of using different types where same types would be expected (comparison).static intWARNING_USAGEUsage of warning function at wrong position.
-
Constructor Summary
Constructors Modifier Constructor Description privateErrorCodes()Prevents creating instances of this class.
-
-
-
Field Detail
-
LHS_NOT_COLLECTION
public static final int LHS_NOT_COLLECTION
Operand of collection operation is not a collection.- See Also:
- Constant Field Values
-
INTERNAL
public static final int INTERNAL
Internal error, should not occur.- See Also:
- Constant Field Values
-
AMBIGUITY
public static final int AMBIGUITY
Resolving an element leads to an ambiguity.- See Also:
- Constant Field Values
-
ATTRIBUTION
public static final int ATTRIBUTION
Errors during attribution of elements (attributeTo).- See Also:
- Constant Field Values
-
ASSIGNMENT
public static final int ASSIGNMENT
Error or warning due to a variable assignment.- See Also:
- Constant Field Values
-
FREEZE
public static final int FREEZE
Attempt to freeze the wrong type of elements.- See Also:
- Constant Field Values
-
WARNING_USAGE
public static final int WARNING_USAGE
Usage of warning function at wrong position.- See Also:
- Constant Field Values
-
DEREFERENCE
public static final int DEREFERENCE
In case that dereferences are not possible.- See Also:
- Constant Field Values
-
CONSTANT
public static final int CONSTANT
In case that a constant shall be modified.- See Also:
- Constant Field Values
-
REF_BY
public static final int REF_BY
In case of refBy problems.- See Also:
- Constant Field Values
-
TYPE_QUALIFICATION
public static final int TYPE_QUALIFICATION
In case of undesired explicit type qualifications.- See Also:
- Constant Field Values
-
WARNING_DIFFERENT_TYPES
public static final int WARNING_DIFFERENT_TYPES
Usage of using different types where same types would be expected (comparison).- See Also:
- Constant Field Values
-
-