diff options
Diffstat (limited to 'coreAPI/src/java')
-rw-r--r-- | coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java index 39db61a..da1305e 100644 --- a/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java +++ b/coreAPI/src/java/net/java/games/input/DefaultControllerEnvironment.java @@ -144,11 +144,7 @@ class DefaultControllerEnvironment extends ControllerEnvironment { ControllerEnvironment ce = (ControllerEnvironment) ceClass.newInstance(); addControllers(ce.getControllers()); } - } catch (InstantiationException e) { - e.printStackTrace(); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } catch (ClassNotFoundException e) { + } catch (Throwable e) { e.printStackTrace(); } } |