aboutsummaryrefslogtreecommitdiff
path: root/src/org/grothoff/Runabout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/grothoff/Runabout.java')
-rw-r--r--src/org/grothoff/Runabout.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/grothoff/Runabout.java b/src/org/grothoff/Runabout.java
index 39f771a..9646a7e 100644
--- a/src/org/grothoff/Runabout.java
+++ b/src/org/grothoff/Runabout.java
@@ -54,7 +54,7 @@ import java.util.HashMap;
54 * <ul> 54 * <ul>
55 * <li>all subclasses must be public, sadly this also means that <strong>you 55 * <li>all subclasses must be public, sadly this also means that <strong>you
56 * can not use an anonymous inner class</strong> (!)</li> 56 * can not use an anonymous inner class</strong> (!)</li>
57 * <li>the types to all arguments of visit methods must be public</li> 57 * <li>the types_length to all arguments of visit methods must be public</li>
58 * <li>all visit methods must be public (!)</li> 58 * <li>all visit methods must be public (!)</li>
59 * </ul> 59 * </ul>
60 * Otherwise the visitor will die with an IllegalAccessError during execution. 60 * Otherwise the visitor will die with an IllegalAccessError during execution.
@@ -265,7 +265,8 @@ public class Runabout {
265 } catch (IllegalAccessException e) { 265 } catch (IllegalAccessException e) {
266 throw new RunaboutException(e.toString()); 266 throw new RunaboutException(e.toString());
267 } catch (InvocationTargetException e) { 267 } catch (InvocationTargetException e) {
268 e.getCause().printStackTrace(); 268 System.err.println("stacktrace:");
269 e.getCause().printStackTrace(System.out);
269 throw new RunaboutException(e.getCause().toString()); 270 throw new RunaboutException(e.getCause().toString());
270 } 271 }
271 } 272 }