Class ExceptionDiagnostic

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

    public class ExceptionDiagnostic
    extends java.lang.Object
    implements Diagnostic
    • Constructor Detail

      • ExceptionDiagnostic

        public ExceptionDiagnostic​(java.lang.Exception exception)
    • Method Detail

      • getLength

        public int getLength()
        Description copied from interface: Diagnostic
        Returns the length of this diagnostic.
        Specified by:
        getLength in interface Diagnostic
        Returns:
        the length of this diagnostic.
      • getOffset

        public int getOffset()
        Description copied from interface: Diagnostic
        Returns the offset of this diagnostic.
        Specified by:
        getOffset in interface Diagnostic
        Returns:
        the offset of this diagnostic.
      • getColumn

        public int getColumn()
        Specified by:
        getColumn 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
      • getColumnEnd

        public int getColumnEnd()
        Description copied from interface: Diagnostic
        Returns the end column location of the issue within the source. The region does not include the end column character itself. Column 1 is the first column of a line.
        Specified by:
        getColumnEnd in interface Diagnostic
        Returns:
        the end column location of the issue.
      • getLineEnd

        public int getLineEnd()
        Description copied from interface: Diagnostic
        Returns the end line location of the issue within the source. Line 1 is the first line of a document.
        Specified by:
        getLineEnd in interface Diagnostic
        Returns:
        the end line location of the issue.
      • getLocation

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getException

        public java.lang.Exception getException()