public static class ISerializationDiagnostic.ExceptionDiagnostic extends java.lang.Object implements ISerializationDiagnostic
ISerializationDiagnostic.Acceptor, ISerializationDiagnostic.ExceptionDiagnostic, ISerializationDiagnostic.ExceptionThrowingAcceptor, ISerializationDiagnostic.StdErrAcceptor, ISerializationDiagnostic.ToString
Modifier and Type | Field and Description |
---|---|
protected java.lang.Throwable |
exception |
protected Grammar |
grammar |
EXCEPTION_DIAGNOSTIC, EXCEPTION_THROWING_ACCEPTOR, STDERR_ACCEPTOR
Constructor and Description |
---|
ISerializationDiagnostic.ExceptionDiagnostic(Grammar grammar,
java.lang.Throwable exception) |
Modifier and Type | Method and Description |
---|---|
boolean |
breaksSyntax() |
org.eclipse.emf.ecore.EObject |
getContext()
Deprecated.
|
org.eclipse.emf.ecore.EStructuralFeature |
getEStructuralFeature() |
java.lang.Throwable |
getException() |
Grammar |
getGrammar() |
ISerializationContext |
getIContext() |
java.lang.String |
getId() |
java.lang.String |
getMessage() |
org.eclipse.emf.ecore.EObject |
getSemanticObject() |
protected java.lang.Throwable exception
protected Grammar grammar
public ISerializationDiagnostic.ExceptionDiagnostic(Grammar grammar, java.lang.Throwable exception)
public boolean breaksSyntax()
breaksSyntax
in interface ISerializationDiagnostic
public java.lang.Throwable getException()
getException
in interface ISerializationDiagnostic
public java.lang.String getMessage()
getMessage
in interface ISerializationDiagnostic
public org.eclipse.emf.ecore.EObject getSemanticObject()
getSemanticObject
in interface ISerializationDiagnostic
@Deprecated public org.eclipse.emf.ecore.EObject getContext()
getContext
in interface ISerializationDiagnostic
public Grammar getGrammar()
getGrammar
in interface ISerializationDiagnostic
public java.lang.String getId()
getId
in interface ISerializationDiagnostic
public org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
getEStructuralFeature
in interface ISerializationDiagnostic
public ISerializationContext getIContext()
getIContext
in interface ISerializationDiagnostic