|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.util.BasicDiagnostic
org.eclipse.ocl.examples.debug.vm.utils.ExecutionDiagnosticImpl
public class ExecutionDiagnosticImpl
Field Summary | |
---|---|
static ExecutionDiagnosticImpl |
OK_INSTANCE
|
Fields inherited from class org.eclipse.emf.common.util.BasicDiagnostic |
---|
children, code, data, message, severity, source |
Fields inherited from interface org.eclipse.ocl.examples.debug.vm.utils.ExecutionDiagnostic |
---|
EXCEPTION_THROWN, FATAL_ASSERTION, MODEL_PARAMETER_MISMATCH, SOURCE, TRANSFORMATION_LOAD_FAILED, USER_INTERRUPTED, VALIDATION |
Fields inherited from interface org.eclipse.emf.common.util.Diagnostic |
---|
CANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, WARNING |
Constructor Summary | |
---|---|
ExecutionDiagnosticImpl(int severity,
int code,
java.lang.String message)
|
|
ExecutionDiagnosticImpl(int severity,
int code,
java.lang.String message,
java.lang.Object[] data)
|
Method Summary | |
---|---|
java.util.List<IVMStackTraceElement> |
getStackTrace()
Gets the stack trace that resulted from interrupted execution either by user termination request or exception thrown |
void |
printStackTrace(java.io.PrintWriter writer)
Prints the execution stack-trace (if available) of this diagnostic to the specified print writer. |
void |
setStackTrace(java.util.List<? extends IVMStackTraceElement> stackElements)
|
Methods inherited from class org.eclipse.emf.common.util.BasicDiagnostic |
---|
add, addAll, dataAsList, getChildren, getCode, getData, getException, getMessage, getSeverity, getSource, merge, recomputeSeverity, setCode, setSeverity, setSource, toDiagnostic, toDiagnostic, toIStatus, toIStatus, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.util.Diagnostic |
---|
getChildren, getCode, getData, getException, getMessage, getSeverity, getSource |
Field Detail |
---|
public static final ExecutionDiagnosticImpl OK_INSTANCE
Constructor Detail |
---|
public ExecutionDiagnosticImpl(int severity, int code, java.lang.String message, java.lang.Object[] data)
public ExecutionDiagnosticImpl(int severity, int code, java.lang.String message)
Method Detail |
---|
public java.util.List<IVMStackTraceElement> getStackTrace()
getStackTrace
in interface ExecutionDiagnostic
public void printStackTrace(java.io.PrintWriter writer)
printStackTrace
in interface ExecutionDiagnostic
writer
- PrintWriter
to use for outputpublic void setStackTrace(java.util.List<? extends IVMStackTraceElement> stackElements)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |