X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fplot%2FPlotDialog.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Fgui%2Fplot%2FPlotDialog.java;h=24bb3a6617fbc2cc1fd8e593017fc5091d389c9a;hb=c72e1c03cc0d15e11368707c38721d506ce356b9;hp=d84fed9b55ebebf385bc0c0cc496abf88b32d5d9;hpb=d23932f311312abb73801262a80ef2f6bc66818d;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/gui/plot/PlotDialog.java b/src/net/sf/openrocket/gui/plot/PlotDialog.java index d84fed9b..24bb3a66 100644 --- a/src/net/sf/openrocket/gui/plot/PlotDialog.java +++ b/src/net/sf/openrocket/gui/plot/PlotDialog.java @@ -34,6 +34,7 @@ import net.sf.openrocket.simulation.FlightDataBranch; import net.sf.openrocket.simulation.FlightEvent; import net.sf.openrocket.unit.Unit; import net.sf.openrocket.unit.UnitGroup; +import net.sf.openrocket.util.BugException; import net.sf.openrocket.util.GUIUtil; import net.sf.openrocket.util.MathUtil; import net.sf.openrocket.util.Pair; @@ -341,7 +342,7 @@ public class PlotDialog extends JDialog { double t2 = time.get(tindex+1); if ((t1 > t) || (t2 < t)) { - throw new RuntimeException("BUG: t1="+t1+" t2="+t2+" t="+t); + throw new BugException("BUG: t1="+t1+" t2="+t2+" t="+t); } if (MathUtil.equals(t1, t2)) {