boot/src/test/java/org/apidesign/html/boot/impl/JsClassLoaderTest.java
branchclassloader
changeset 161 ea5ca9cc685d
parent 123 8e54b83ea65c
child 163 2652760705d6
     1.1 --- a/boot/src/test/java/org/apidesign/html/boot/impl/JsClassLoaderTest.java	Wed Jun 19 12:52:23 2013 +0200
     1.2 +++ b/boot/src/test/java/org/apidesign/html/boot/impl/JsClassLoaderTest.java	Tue Jun 25 21:09:48 2013 +0200
     1.3 @@ -77,8 +77,12 @@
     1.4                              all.add(thiz == null ? val : thiz);
     1.5                              all.addAll(Arrays.asList(args));
     1.6                              Invocable inv = (Invocable)eng;
     1.7 -                            Object ret = inv.invokeMethod(val, "call", all.toArray());
     1.8 -                            return ret == val ? null : ret;
     1.9 +                            try {
    1.10 +                                Object ret = inv.invokeMethod(val, "call", all.toArray());
    1.11 +                                return ret == val ? null : ret;
    1.12 +                            } catch (Exception ex) {
    1.13 +                                throw ex;
    1.14 +                            }
    1.15                          }
    1.16                      };
    1.17                  } catch (ScriptException ex) {