org.eclipse.xtext.diagnostics
Class ExceptionDiagnostic

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.eclipse.xtext.diagnostics.Diagnostic
LINKING_DIAGNOSTIC, SYNTAX_DIAGNOSITC
 
Constructor Summary
ExceptionDiagnostic(java.lang.Exception exception)
           
 
Method Summary
 int getColumn()
           
 java.lang.Exception getException()
           
 int getLength()
           
 int getLine()
           
 java.lang.String getLocation()
           
 java.lang.String getMessage()
           
 int getOffset()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionDiagnostic

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

getLength

public int getLength()
Specified by:
getLength in interface Diagnostic

getOffset

public int getOffset()
Specified by:
getOffset in interface 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()