1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/ExceptionsTest.java Mon Dec 31 17:50:27 2012 +0100
1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/ExceptionsTest.java Thu Jan 10 13:09:19 2013 +0100
1.3 @@ -38,6 +38,16 @@
1.4 }
1.5
1.6 @Test
1.7 + public void catchJavaScriptStringAsThrowable() throws Exception {
1.8 + assertExec(
1.9 + "Throw hello!",
1.10 + Exceptions.class,
1.11 + "catchThrowableCatchesAll__Ljava_lang_String_2",
1.12 + "Hello!"
1.13 + );
1.14 + }
1.15 +
1.16 + @Test
1.17 public void verifyMethodWithTryCatchThrow() throws Exception {
1.18 assertExec(
1.19 "Throw",