List<Object> ob = new ArrayList<Object>();
for(StackTraceElement ste : e.getStackTrace()) {
ob.add(runtime.newText(ste.toString()));
}
condition.setCell("exceptionStackTrace", runtime.newList(ob));
runtime.withReturningRestart("ignore", context, new RunnableWithControlFlow() {
public void run() throws ControlFlow {
runtime.errorCondition(condition);
}});