release 0.9.6
[debian/openrocket] / src / net / sf / openrocket / gui / adaptors / BooleanModel.java
index 1e8c52d23eede6254b463b4916f14123eb1e515f..e474a9ee86dcfb9ea7ba8c107fa105016ee622fd 100644 (file)
@@ -98,7 +98,7 @@ public class BooleanModel extends AbstractAction implements ChangeListener {
                } catch (IllegalAccessException e) {
                        throw new BugException("getMethod execution error for source "+source,e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
        
@@ -108,7 +108,7 @@ public class BooleanModel extends AbstractAction implements ChangeListener {
                } catch (IllegalAccessException e) {
                        throw new BugException("setMethod execution error for source "+source,e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }
        
@@ -171,7 +171,7 @@ public class BooleanModel extends AbstractAction implements ChangeListener {
                } catch (IllegalAccessException e) {
                        throw new BugException("getEnabled execution error for source "+source,e);
                } catch (InvocationTargetException e) {
-                       throw Reflection.handleInvocationTargetException(e);
+                       throw Reflection.handleWrappedException(e);
                }
        }