X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fadaptors%2FDoubleModel.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fadaptors%2FDoubleModel.java;h=2f1946a44524fea97a9d3340bfa46109c3461948;hb=e298a9509613f232227d16d28310611b33c3aa03;hp=6616b81c9cac7b4e54a17181f4ba80cee9b0b398;hpb=c71eeba85a8a25e1bd43b27ad09cb2238139b737;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/gui/adaptors/DoubleModel.java b/src/net/sf/openrocket/gui/adaptors/DoubleModel.java index 6616b81c..2f1946a4 100644 --- a/src/net/sf/openrocket/gui/adaptors/DoubleModel.java +++ b/src/net/sf/openrocket/gui/adaptors/DoubleModel.java @@ -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); } }