public class ExceptionDiagnostic extends java.lang.Object implements Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC, SYNTAX_DIAGNOSTIC, SYNTAX_DIAGNOSTIC_WITH_RANGE
Constructor and Description |
---|
ExceptionDiagnostic(java.lang.Exception exception) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
java.lang.Exception |
getException() |
int |
getLength()
Returns the length of this diagnostic.
|
int |
getLine() |
java.lang.String |
getLocation() |
java.lang.String |
getMessage() |
int |
getOffset()
Returns the offset of this diagnostic.
|
java.lang.String |
toString() |
public int getLength()
Diagnostic
getLength
in interface Diagnostic
public int getOffset()
Diagnostic
getOffset
in interface Diagnostic
public int getColumn()
getColumn
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public int getLine()
getLine
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String getLocation()
getLocation
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String getMessage()
getMessage
in interface org.eclipse.emf.ecore.resource.Resource.Diagnostic
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Exception getException()