code: public static Polygon makeEllipse(Point p, double width, double height) throws SQLException {
          if(p == null){
              return null;
          }
          if (height < 0 || width < 0) {
              throw new SQLException("Both width and height must be positive.");
          } else {
              GSF.setCentre(new Coordinate(p.getX(), p.getY()));
              GSF.setWidth(width);
              GSF.setHeight(height);
              return GSF.createEllipse();
          }
      }
docs: Make an ellipse centered at the given point with the given width and
  height.
  
  @param p      Point
  @param width  Width
  @param height Height
  @return An ellipse centered at the given point with the given width and height
  @throws SQLException if the width or height is non-positive