throw new InvokerException(ioe.getMessage(), ioe.getCause());
} catch (XMLStreamException xse) {
throw new InvokerException(xse.getMessage(), xse.getCause());
}
executor = new SCXMLExecutor(evaluator, new SimpleDispatcher(), new SimpleErrorReporter());
Context rootCtx = evaluator.newContext(null);
for (Map.Entry<String, Object> entry : params.entrySet()) {
rootCtx.setLocal(entry.getKey(), entry.getValue());
}
executor.setRootContext(rootCtx);
try {
executor.setStateMachine(scxml);
}