ScriptEngine.eval() forwards Error instead of new ScriptException