Class ErrorCodes


  • public class ErrorCodes
    extends net.ssehub.easy.dslCore.translation.ErrorCodes
    Defines error codes for messages used in unit testing.
    Author:
    Holger Eichelberger
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int AMBIGUITY
      Resolving an element leads to an ambiguity.
      static int ASSIGNMENT
      Error or warning due to a variable assignment.
      static int ATTRIBUTION
      Errors during attribution of elements (attributeTo).
      static int CONSTANT
      In case that a constant shall be modified.
      static int DEREFERENCE
      In case that dereferences are not possible.
      static int FREEZE
      Attempt to freeze the wrong type of elements.
      static int INTERNAL
      Internal error, should not occur.
      static int LHS_NOT_COLLECTION
      Operand of collection operation is not a collection.
      static int REF_BY
      In case of refBy problems.
      static int TYPE_QUALIFICATION
      In case of undesired explicit type qualifications.
      static int WARNING_DIFFERENT_TYPES
      Usage of using different types where same types would be expected (comparison).
      static int WARNING_USAGE
      Usage of warning function at wrong position.
      • Fields inherited from class net.ssehub.easy.dslCore.translation.ErrorCodes

        CANNOT_RESOLVE_ITER, DIMENSION, DISCOURAGED, FORMAT_ERROR, FROM_PARSER, IMPORT, INITIALIZER_CONSISTENCY, MISSING, NAME_CLASH, REDEFINITION, RULES, SYNTAX, TYPE_CONSISTENCY, UNKNOWN_ELEMENT, UNKNOWN_TYPE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ErrorCodes()
      Prevents creating instances of this class.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.