Updates for 0.9.5
[debian/openrocket] / src / net / sf / openrocket / aerodynamics / WarningSet.java
index 32355bc32237c4546fb32460bec34ed641b68b8c..ead0625c0ccdb3ee93141d1978dd6c5000cf1210 100644 (file)
@@ -4,6 +4,8 @@ import java.util.AbstractSet;
 import java.util.ArrayList;
 import java.util.Iterator;
 
+import net.sf.openrocket.util.BugException;
+
 /**
  * A set that contains multiple <code>Warning</code>s.  When adding a
  * {@link Warning} to this set, the contents is checked for a warning of the
@@ -72,7 +74,7 @@ public class WarningSet extends AbstractSet<Warning> implements Cloneable {
                        return newSet;
                        
                } catch (CloneNotSupportedException e) {
-                       throw new RuntimeException("CloneNotSupportedException occurred, report bug!",e);
+                       throw new BugException("CloneNotSupportedException occurred, report bug!",e);
                }
        }