Work with all throwables
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 26 Dec 2012 17:10:01 +0100
changeset 3852a00bdf753bb
parent 384 269d99fd6421
child 386 c02d1729f024
child 407 b2f68438b0e2
Work with all throwables
launcher/src/main/java/org/apidesign/bck2brwsr/launcher/MethodInvocation.java
     1.1 --- a/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/MethodInvocation.java	Tue Dec 25 17:46:21 2012 +0100
     1.2 +++ b/launcher/src/main/java/org/apidesign/bck2brwsr/launcher/MethodInvocation.java	Wed Dec 26 17:10:01 2012 +0100
     1.3 @@ -29,7 +29,7 @@
     1.4      final String className;
     1.5      final String methodName;
     1.6      private String result;
     1.7 -    private Exception exception;
     1.8 +    private Throwable exception;
     1.9  
    1.10      MethodInvocation(String className, String methodName) {
    1.11          this.className = className;
    1.12 @@ -40,7 +40,7 @@
    1.13          wait.await(timeOut, TimeUnit.MILLISECONDS);
    1.14      }
    1.15      
    1.16 -    void result(String r, Exception e) {
    1.17 +    void result(String r, Throwable e) {
    1.18          this.result = r;
    1.19          this.exception = e;
    1.20          wait.countDown();