release 0.9.6
[debian/openrocket] / src / net / sf / openrocket / gui / adaptors / DoubleModel.java
index 6616b81c9cac7b4e54a17181f4ba80cee9b0b398..2f1946a44524fea97a9d3340bfa46109c3461948 100644 (file)
@@ -595,7 +595,7 @@ public class DoubleModel implements ChangeListener, ChangeSource {
                } catch (IllegalAccessException e) {
                        throw new BugException("BUG: Unable to invoke getMethod of "+this, e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
        
@@ -621,7 +621,7 @@ public class DoubleModel implements ChangeListener, ChangeSource {
                } catch (IllegalAccessException e) {
                        throw new BugException("BUG: Unable to invoke setMethod of "+this, e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
 
@@ -648,7 +648,7 @@ public class DoubleModel implements ChangeListener, ChangeSource {
                } catch (IllegalAccessException e) {
                        throw new BugException("Method call failed", e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
        
@@ -670,7 +670,7 @@ public class DoubleModel implements ChangeListener, ChangeSource {
                } catch (IllegalAccessException e) {
                        throw new BugException(e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }