public final class ExecutionDiagnosticImpl extends BasicDiagnostic implements ExecutionDiagnostic
EXCEPTION_THROWN, FATAL_ASSERTION, MODEL_PARAMETER_MISMATCH, SOURCE, TRANSFORMATION_LOAD_FAILED, USER_INTERRUPTED, VALIDATION
CANCEL, 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, toIStatus
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getCode, getData, getException, getMessage, getSeverity, getSource
add, addAll, merge
public 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 ExecutionDiagnostic
public void printStackTrace(PrintWriter writer)
printStackTrace
in interface ExecutionDiagnostic
writer
- PrintWriter
to use for outputpublic String toString()
toString
in class BasicDiagnostic
public static ExecutionDiagnosticImpl createOkInstance()
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.