release 0.9.6
[debian/openrocket] / src / net / sf / openrocket / gui / adaptors / IntegerModel.java
index 60658b3fe921b686a21e7d3c5d2c329635fe947e..35efe7fe260a4be5b1cc24c64f0e11e3e2519b64 100644 (file)
@@ -155,7 +155,7 @@ public class IntegerModel implements ChangeListener {
                } catch (IllegalAccessException e) {
                        throw new BugException(e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
        
@@ -170,7 +170,7 @@ public class IntegerModel implements ChangeListener {
                } catch (IllegalAccessException e) {
                        throw new BugException(e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }