updates for 0.9.4
[debian/openrocket] / src / net / sf / openrocket / gui / rocketfigure / RocketComponentShapes.java
index 8311d0ae12f9ff5f8bc3026e7a243f6ba18f81f7..3ed7741d183fcb9d20a5ff3f9b0d215a31b430eb 100644 (file)
@@ -3,6 +3,7 @@ package net.sf.openrocket.gui.rocketfigure;
 
 import java.awt.Shape;
 
+import net.sf.openrocket.gui.main.ExceptionHandler;
 import net.sf.openrocket.gui.scalefigure.RocketFigure;
 import net.sf.openrocket.util.Transformation;
 
@@ -17,14 +18,16 @@ public class RocketComponentShapes {
        public static Shape[] getShapesSide(net.sf.openrocket.rocketcomponent.RocketComponent component,
                        Transformation t) {
                // no-op
-               System.err.println("ERROR:  RocketComponent.getShapesSide called with "+component);
+               ExceptionHandler.handleErrorCondition("ERROR:  RocketComponent.getShapesSide called with "
+                               + component);
                return new Shape[0];
        }
        
        public static Shape[] getShapesBack(net.sf.openrocket.rocketcomponent.RocketComponent component,
                        Transformation t) {
                // no-op
-               System.err.println("ERROR:  RocketComponent.getShapesBack called with "+component);
+               ExceptionHandler.handleErrorCondition("ERROR:  RocketComponent.getShapesBack called with "
+                               +component);
                return new Shape[0];
        }