ScriptEngine.eval() forwards Error instead of new ScriptException
Merge pull request #2541 from rjolly/scripting11

ScriptEngine.eval() forwards Error instead of new ScriptException