Class ErrorCodes

java.lang.Object
net.ssehub.easy.dslCore.translation.ErrorCodes

public class ErrorCodes extends Object
Defines error codes for messages used in unit testing.
Author:
Holger Eichelberger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    In case that the identifier "ITER" cannot be resolved (collection iteration).
    static final int
    In case of problems with an initializer container dimension.
    static final int
    Discouraged use (usually a warning).
    static final int
    Errors when a given format is not fulfilled.
    static final int
    Error received from parser and added to message list.
    static final int
    Errors during project import.
    static final int
    Structural error in initializer, e.g.
    static final int
    A semantically missing element, such as a return expression.
    static final int
    Errors when names clash.
    static final int
    An element is defined multiple times.
    static final int
    Errors during rules.
    static final int
    In case of syntax problems leading to missing parts in the AST.
    static final int
    Elements of different types cannot be assigned.
    static final int
    Unknown elements such as compound slots (but not types).
    static final int
    Unknown types.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    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 Details

    • UNKNOWN_TYPE

      public static final int UNKNOWN_TYPE
      Unknown types.
      See Also:
    • INITIALIZER_CONSISTENCY

      public static final int INITIALIZER_CONSISTENCY
      Structural error in initializer, e.g. missing names.
      See Also:
    • TYPE_CONSISTENCY

      public static final int TYPE_CONSISTENCY
      Elements of different types cannot be assigned.
      See Also:
    • REDEFINITION

      public static final int REDEFINITION
      An element is defined multiple times.
      See Also:
    • NAME_CLASH

      public static final int NAME_CLASH
      Errors when names clash.
      See Also:
    • FROM_PARSER

      public static final int FROM_PARSER
      Error received from parser and added to message list.
      See Also:
    • FORMAT_ERROR

      public static final int FORMAT_ERROR
      Errors when a given format is not fulfilled.
      See Also:
    • UNKNOWN_ELEMENT

      public static final int UNKNOWN_ELEMENT
      Unknown elements such as compound slots (but not types).
      See Also:
    • IMPORT

      public static final int IMPORT
      Errors during project import.
      See Also:
    • RULES

      public static final int RULES
      Errors during rules.
      See Also:
    • CANNOT_RESOLVE_ITER

      public static final int CANNOT_RESOLVE_ITER
      In case that the identifier "ITER" cannot be resolved (collection iteration).
      See Also:
    • DIMENSION

      public static final int DIMENSION
      In case of problems with an initializer container dimension.
      See Also:
    • SYNTAX

      public static final int SYNTAX
      In case of syntax problems leading to missing parts in the AST.
      See Also:
    • DISCOURAGED

      public static final int DISCOURAGED
      Discouraged use (usually a warning).
      See Also:
    • MISSING

      public static final int MISSING
      A semantically missing element, such as a return expression.
      See Also:
  • Constructor Details

    • ErrorCodes

      protected ErrorCodes()
      Prevents creating instances of this class.