X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fsimulation%2FSimulationConditions.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Fsimulation%2FSimulationConditions.java;h=da407772aba8b324517ced8167bc80ecd165adec;hb=c72e1c03cc0d15e11368707c38721d506ce356b9;hp=8b79bfbc9ef303e4db2618dcafb1e58b2e9d8501;hpb=d23932f311312abb73801262a80ef2f6bc66818d;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/simulation/SimulationConditions.java b/src/net/sf/openrocket/simulation/SimulationConditions.java index 8b79bfbc..da407772 100644 --- a/src/net/sf/openrocket/simulation/SimulationConditions.java +++ b/src/net/sf/openrocket/simulation/SimulationConditions.java @@ -9,6 +9,7 @@ import javax.swing.event.ChangeListener; import net.sf.openrocket.aerodynamics.AtmosphericModel; import net.sf.openrocket.aerodynamics.ExtendedISAModel; import net.sf.openrocket.rocketcomponent.Rocket; +import net.sf.openrocket.util.BugException; import net.sf.openrocket.util.ChangeSource; import net.sf.openrocket.util.MathUtil; @@ -321,7 +322,7 @@ public class SimulationConditions implements ChangeSource, Cloneable { copy.listeners = new ArrayList(); return copy; } catch (CloneNotSupportedException e) { - throw new RuntimeException(e); + throw new BugException(e); } }