throw new com.bbn.openmap.util.HandleError("LayerHandler commanded to delete a layer (" + layer.getName() + ") that is not removeable");
    public void removeLayer(Layer layer) {	if (layer != null && layer.isRemoveable()) {	    int index = -1;	    for (int i = 0; i < allLayers.length; i++) {		if (layer == allLayers[i]) {		    index = i;		    break;		}	    }	    // If the layer is actually there...	    if (index != -1) {		removeLayer(allLayers, index);	    }	} else {	    if (layer != null) {		Debug.error("LayerHandler: received command to remove " + layer.getName() +			    ", which has been designated as *NOT* removeable");	    }	}    }