X-Git-Url: https://git.gag.com/?p=debian%2Fopenrocket;a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Faerodynamics%2FAtmosphericConditions.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Faerodynamics%2FAtmosphericConditions.java;h=d2e910ea783e5d98c4f8e93e1364bf69a5a2b255;hp=c36c525f2920ef206e8203ff5739f81ceadf7c4f;hb=c72e1c03cc0d15e11368707c38721d506ce356b9;hpb=d23932f311312abb73801262a80ef2f6bc66818d diff --git a/src/net/sf/openrocket/aerodynamics/AtmosphericConditions.java b/src/net/sf/openrocket/aerodynamics/AtmosphericConditions.java index c36c525f..d2e910ea 100644 --- a/src/net/sf/openrocket/aerodynamics/AtmosphericConditions.java +++ b/src/net/sf/openrocket/aerodynamics/AtmosphericConditions.java @@ -1,5 +1,7 @@ package net.sf.openrocket.aerodynamics; +import net.sf.openrocket.util.BugException; + public class AtmosphericConditions implements Cloneable { /** Specific gas constant of dry air. */ @@ -92,7 +94,7 @@ public class AtmosphericConditions implements Cloneable { try { return (AtmosphericConditions) super.clone(); } catch (CloneNotSupportedException e) { - throw new RuntimeException("BUG: CloneNotSupportedException encountered!"); + throw new BugException("BUG: CloneNotSupportedException encountered!"); } }