import net.sf.openrocket.unit.Tick;
import net.sf.openrocket.unit.Unit;
import net.sf.openrocket.unit.UnitGroup;
+import net.sf.openrocket.util.BugException;
public void setFitting(boolean fit) {
if (fit && !allowFit) {
- throw new RuntimeException("Attempting to fit figure not allowing fit.");
+ throw new BugException("Attempting to fit figure not allowing fit.");
}
this.fit = fit;
if (fit) {