From 26223bde933fe86d815c2d6f5c986af6ad0be540 Mon Sep 17 00:00:00 2001 From: Sven Robertz <sven@cs.lth.se> Date: Tue, 2 Jul 2013 16:32:04 +0200 Subject: [PATCH] cleanup? --- examples/dynamic/TestLabCommCompiler.java | 26 ++--------------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/examples/dynamic/TestLabCommCompiler.java b/examples/dynamic/TestLabCommCompiler.java index 4afe103..c50037b 100644 --- a/examples/dynamic/TestLabCommCompiler.java +++ b/examples/dynamic/TestLabCommCompiler.java @@ -83,33 +83,11 @@ public class TestLabCommCompiler { try { m = hc.getDeclaredMethod("handle_foo", fc); m.invoke(h, f); - } catch (SecurityException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (NoSuchMethodException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IllegalArgumentException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (InvocationTargetException e) { - // TODO Auto-generated catch block + } catch (Throwable e) { e.printStackTrace(); } - } catch (ClassNotFoundException e) { - e.printStackTrace(); - } catch (InstantiationException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IllegalAccessException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (SecurityException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (NoSuchFieldException e) { - // TODO Auto-generated catch block + } catch (Throwable e) { e.printStackTrace(); } } -- GitLab