Class ErrorCodes


  • public class ErrorCodes
    extends ErrorCodes
    Defines error codes for messages used in unit testing.
    Author:
    Holger Eichelberger
    • 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
      • 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
    • Constructor Detail

      • ErrorCodes

        private ErrorCodes()
        Prevents creating instances of this class.