@Override
  public InternalRegion getInternalRegionByPath(String path) {
    validatePath(path);

    // do this before checking the pathToRegion map
    InternalRegion result = getReinitializingRegion(path);
    if (result != null) {
      return result;
    }
    return pathToRegion.get(path);
  }
@throws IllegalArgumentException if path is not valid
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java