Updates for 0.9.5
[debian/openrocket] / src / net / sf / openrocket / aerodynamics / FlightConditions.java
index 58d964e1987583b1465af1c11f71f43a999bfb95..56712a2a0c7700585c36e043e8364b1be9ab0dfe 100644 (file)
@@ -7,6 +7,7 @@ import javax.swing.event.ChangeEvent;
 import javax.swing.event.ChangeListener;
 
 import net.sf.openrocket.rocketcomponent.Configuration;
+import net.sf.openrocket.util.BugException;
 import net.sf.openrocket.util.ChangeSource;
 import net.sf.openrocket.util.MathUtil;
 
@@ -369,7 +370,7 @@ public class FlightConditions implements Cloneable, ChangeSource {
                        cond.atmosphericConditions = atmosphericConditions.clone();
                        return cond;
                } catch (CloneNotSupportedException e) {
-                       throw new RuntimeException("BUG: clone not supported!",e);
+                       throw new BugException("BUG: clone not supported!",e);
                }
        }