Class MoxelDiagnostic

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Diagnostic

    public class MoxelDiagnostic
    extends Object
    implements org.eclipse.emf.ecore.resource.Resource.Diagnostic
    Resource.Diagnostic for moxel resources
    • Constructor Detail

      • MoxelDiagnostic

        public MoxelDiagnostic​(String message,
                               org.eclipse.emf.common.util.URI location,
                               int line,
                               int column)
        Constructor
        Parameters:
        message - error message, can't be null
        location - actual location, usually it's URI, can't be null
        line - line number in file corresponding to the error
        column - column number in file corresponding to the error
    • Method Detail

      • getMessage

        public String getMessage()
        Specified by:
        getMessage in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getLocation

        public String getLocation()
        Specified by:
        getLocation in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getLine

        public int getLine()
        Specified by:
        getLine in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
      • getColumn

        public int getColumn()
        Specified by:
        getColumn in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic