void addSubregion(String name, RegionCreation region) throws RegionExistsException {

    if (subregions.containsKey(name)) {
      RegionCreation existing = (RegionCreation) subregions.get(name);
      throw new RegionExistsException(existing);

    } else {
      subregions.put(name, region);
    }
  }
Adds a subregion with the given name to this region


@throws RegionExistsException If a subregion with <code>name</code> already exists
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/RegionCreation.java