public void setMaxRadius(float maxRadius) throws Exception {
        if (maxRadius <= 0 || maxRadius <= minRadius) {
            throw new Exception("The maximum radius is not greater than 0, "
                    + "or not greater than the minimum radius");
        }
        this.maxRadius = maxRadius;
    }
Sets the minimum radius of a hill.

@param maxRadius
           the maximum radius of a hill
@throws Exception
            if the maximum radius is not greater than zero or not greater
            than the minimum radius
jme3-terrain/src/main/java/com/jme3/terrain/heightmap/HillHeightMap.java