Package org.eclipse.m2m.qvt.oml
Interface ExecutionDiagnostic
-
- All Superinterfaces:
Diagnostic,DiagnosticChain
- All Known Implementing Classes:
ExecutionDiagnosticImpl
public interface ExecutionDiagnostic extends Diagnostic, DiagnosticChain
A diagnostic interface representing the result status of a transformation execution.- Since:
- 2.0
- Interface is not intended to be extended by clients.
- This interface is not intended to be extended by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static intEXCEPTION_THROWNstatic intFATAL_ASSERTIONThe execution was terminated by failed QVT assertion.static intMODEL_PARAMETER_MISMATCHstatic StringSOURCEstatic intTRANSFORMATION_LOAD_FAILEDstatic intUSER_INTERRUPTEDThe execution received user interruption requeststatic intVALIDATION-
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ExecutionStackTraceElement>getStackTrace()Gets the stack trace that resulted from interrupted execution either by user termination request or exception thrownvoidprintStackTrace(PrintWriter writer)Prints the execution stack-trace (if available) of this diagnostic to the specified print writer.-
Methods inherited from interface org.eclipse.emf.common.util.Diagnostic
getChildren, getCode, getData, getException, getMessage, getSeverity, getSource
-
Methods inherited from interface org.eclipse.emf.common.util.DiagnosticChain
add, addAll, merge
-
-
-
-
Field Detail
-
FATAL_ASSERTION
static final int FATAL_ASSERTION
The execution was terminated by failed QVT assertion.- See Also:
- Constant Field Values
-
USER_INTERRUPTED
static final int USER_INTERRUPTED
The execution received user interruption request- See Also:
- Constant Field Values
-
EXCEPTION_THROWN
static final int EXCEPTION_THROWN
- See Also:
- Constant Field Values
-
VALIDATION
static final int VALIDATION
- See Also:
- Constant Field Values
-
MODEL_PARAMETER_MISMATCH
static final int MODEL_PARAMETER_MISMATCH
- See Also:
- Constant Field Values
-
TRANSFORMATION_LOAD_FAILED
static final int TRANSFORMATION_LOAD_FAILED
- See Also:
- Constant Field Values
-
SOURCE
static final String SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStackTrace
List<ExecutionStackTraceElement> getStackTrace()
Gets the stack trace that resulted from interrupted execution either by user termination request or exception thrown- Returns:
- list of trace elements or an empty list
-
printStackTrace
void printStackTrace(PrintWriter writer)
Prints the execution stack-trace (if available) of this diagnostic to the specified print writer.- Parameters:
writer-PrintWriterto use for output
-
-