Class BslJavaValidator.ErrorDescr

  • Enclosing class:
    BslJavaValidator

    public static class BslJavaValidator.ErrorDescr
    extends Object
    Contains error contents from checking expressions types
    • Field Detail

      • source

        public final org.eclipse.emf.ecore.EObject source
      • message

        public final String message
      • feature

        public final org.eclipse.emf.ecore.EStructuralFeature feature
      • errorCode

        public final String errorCode
    • Constructor Detail

      • ErrorDescr

        public ErrorDescr​(org.eclipse.emf.ecore.EObject source,
                          String message)
        Constructor
        Parameters:
        source - error object, can't be null
        message - error message, can't be null
      • ErrorDescr

        public ErrorDescr​(org.eclipse.emf.ecore.EObject source,
                          String message,
                          org.eclipse.emf.ecore.EStructuralFeature feature)
        Constructor
        Parameters:
        source - error object, can't be null
        message - error message, can't be null
        feature - actual feature of the source, can't be null
      • ErrorDescr

        public ErrorDescr​(org.eclipse.emf.ecore.EObject source,
                          String message,
                          org.eclipse.emf.ecore.EStructuralFeature feature,
                          String errorCode)
        Constructor
        Parameters:
        source - error object, can't be null
        message - error message, can't be null
        feature - actual feature of the source, can't be null
        errorCode - error code of severity, can be null