org.eclipse.xtext.serializer.diagnostic
Class ISerializationDiagnostic.ExceptionDiagnostic

java.lang.Object
  extended by org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.ExceptionDiagnostic
All Implemented Interfaces:
ISerializationDiagnostic
Enclosing interface:
ISerializationDiagnostic

public static class ISerializationDiagnostic.ExceptionDiagnostic
extends java.lang.Object
implements ISerializationDiagnostic


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic
ISerializationDiagnostic.Acceptor, ISerializationDiagnostic.ExceptionDiagnostic, ISerializationDiagnostic.ExceptionThrowingAcceptor, ISerializationDiagnostic.StdErrAcceptor
 
Field Summary
protected  java.lang.Throwable exception
           
 
Fields inherited from interface org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic
EXCEPTION_THROWING_ACCEPTOR, STDERR_ACCEPTOR
 
Constructor Summary
ISerializationDiagnostic.ExceptionDiagnostic(java.lang.Throwable exception)
           
 
Method Summary
 boolean breaksSyntax()
           
 org.eclipse.emf.ecore.EObject getContext()
           
 java.lang.Throwable getException()
           
 java.lang.String getMessage()
           
 org.eclipse.emf.ecore.EObject getSemanticObject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exception

protected java.lang.Throwable exception
Constructor Detail

ISerializationDiagnostic.ExceptionDiagnostic

public ISerializationDiagnostic.ExceptionDiagnostic(java.lang.Throwable exception)
Method Detail

breaksSyntax

public boolean breaksSyntax()
Specified by:
breaksSyntax in interface ISerializationDiagnostic

getException

public java.lang.Throwable getException()
Specified by:
getException in interface ISerializationDiagnostic

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface ISerializationDiagnostic

getSemanticObject

public org.eclipse.emf.ecore.EObject getSemanticObject()
Specified by:
getSemanticObject in interface ISerializationDiagnostic

getContext

public org.eclipse.emf.ecore.EObject getContext()
Specified by:
getContext in interface ISerializationDiagnostic