org.eclipse.xtext.diagnostics
Class ExceptionDiagnostic
java.lang.Object
org.eclipse.xtext.diagnostics.ExceptionDiagnostic
- All Implemented Interfaces:
- org.eclipse.emf.ecore.resource.Resource.Diagnostic, Diagnostic
public class ExceptionDiagnostic
- extends java.lang.Object
- implements Diagnostic
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExceptionDiagnostic
public ExceptionDiagnostic(java.lang.Exception exception)
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
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()