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() |
int |
getColumnEnd()
Returns the end column location of the issue within the source.
|
java.lang.Exception |
getException() |
int |
getLength()
Returns the length of this diagnostic.
|
int |
getLine() |
int |
getLineEnd()
Returns the end line location of the issue within the source.
|
java.lang.String |
getLocation() |
java.lang.String |
getMessage() |
int |
getOffset()
Returns the offset of this diagnostic.
|
java.lang.String |
toString() |
public int getLength()
DiagnosticgetLength in interface Diagnosticpublic int getOffset()
DiagnosticgetOffset in interface Diagnosticpublic int getColumn()
getColumn in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getLine()
getLine in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic int getColumnEnd()
Diagnostic1 is the first column of a line.getColumnEnd in interface Diagnosticpublic int getLineEnd()
Diagnostic1 is the first line of a document.getLineEnd in interface Diagnosticpublic java.lang.String getLocation()
getLocation in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic java.lang.String getMessage()
getMessage in interface org.eclipse.emf.ecore.resource.Resource.Diagnosticpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Exception getException()