public final class ExecutionDiagnosticImpl extends BasicDiagnostic implements ExecutionDiagnostic
EXCEPTION_THROWN, FATAL_ASSERTION, MODEL_PARAMETER_MISMATCH, SOURCE, TRANSFORMATION_LOAD_FAILED, USER_INTERRUPTED, VALIDATIONCANCEL, CANCEL_INSTANCE, ERROR, INFO, OK, OK_INSTANCE, WARNING| 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 |
|---|---|
static ExecutionDiagnosticImpl |
createOkInstance() |
List<ExecutionStackTraceElement> |
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 ExecutionStackTraceElement> stackElements) |
String |
toString() |
add, addAll, getChildren, getCode, getData, getException, getMessage, getSeverity, getSource, merge, recomputeSeverity, toDiagnostic, toDiagnostic, toIStatus, toIStatusequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getCode, getData, getException, getMessage, getSeverity, getSourceadd, addAll, mergepublic ExecutionDiagnosticImpl(int severity,
int code,
String message,
Object[] data)
public ExecutionDiagnosticImpl(int severity,
int code,
String message)
public void setStackTrace(List<? extends ExecutionStackTraceElement> stackElements)
public List<ExecutionStackTraceElement> getStackTrace()
getStackTrace in interface ExecutionDiagnosticpublic void printStackTrace(PrintWriter writer)
printStackTrace in interface ExecutionDiagnosticwriter - PrintWriter to use for outputpublic String toString()
toString in class BasicDiagnosticpublic static ExecutionDiagnosticImpl createOkInstance()
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.