de.cau.cs.kieler.synccharts.text.actions.bridge
Class DiagnosticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.cau.cs.kieler.core.KielerModelException
de.cau.cs.kieler.synccharts.text.actions.bridge.DiagnosticException
public class DiagnosticException
- extends KielerModelException
A KielerModelException that also contains Diagnostic information. A
Diagnostic Object may contain additional information about errors. For
Example Xtext creates Diagnostics at parse errors. This might be used to
determine concrete causes of errors
- Rating

DiagnosticException
public DiagnosticException(String message,
Object thecausingModelObject,
List<Resource.Diagnostic> diagnostics)
- Main Constructor.
- Parameters:
message
- An error message to be displayed.thecausingModelObject
- The model object that has caused the exception.diagnostics
- A List of Diagnostic objects to be attached to the exception.
getDiagnostics
public List<Resource.Diagnostic> getDiagnostics()
- Returns:
- the List of Diagnostic elements contained by this Exception.