Object outputValue = interpreter.get(outputName);
outputMap.put(outputName, outputValue);
}
log.debug("script output: "+outputMap);
} catch (TargetError e) {
throw new DelegationException("script evaluation exception", e.getTarget());
} catch (Exception e) {
log.warn("exception during evaluation of script expression", e);
// try to throw the cause of the EvalError
if (e.getCause() instanceof Exception) {
throw (Exception) e.getCause();