public class ExecutionDiagnosticImpl extends BasicDiagnostic implements ExecutionDiagnostic
| Modifier and Type | Field and Description |
|---|---|
static ExecutionDiagnosticImpl |
OK_INSTANCE |
EXCEPTION_THROWN, FATAL_ASSERTION, MODEL_PARAMETER_MISMATCH, SOURCE, TRANSFORMATION_LOAD_FAILED, USER_INTERRUPTED, VALIDATION| Constructor and Description |
|---|
ExecutionDiagnosticImpl(int severity,
int code,
String message) |
ExecutionDiagnosticImpl(int severity,
int code,
String message,
Object[] data) |
| Modifier and Type | Method and Description |
|---|---|
List<IVMStackTraceElement> |
getStackTrace()
Gets the stack trace that resulted from interrupted execution either by
user termination request or exception thrown
|
void |
printStackTrace(PrintWriter writer)
Prints the execution stack-trace (if available) of this diagnostic to the
specified print writer.
|
void |
setStackTrace(List<? extends IVMStackTraceElement> stackElements) |
public static final ExecutionDiagnosticImpl OK_INSTANCE
public ExecutionDiagnosticImpl(int severity,
int code,
String message,
Object[] data)
public ExecutionDiagnosticImpl(int severity,
int code,
String message)
public List<IVMStackTraceElement> getStackTrace()
getStackTrace in interface ExecutionDiagnosticpublic void printStackTrace(PrintWriter writer)
printStackTrace in interface ExecutionDiagnosticwriter - PrintWriter to use for outputpublic void setStackTrace(List<? extends IVMStackTraceElement> stackElements)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.