public @NotNull Entry getEntry(@NonNls String path) {
    Entry result = findEntry(path);
    if (result == null) {
      throw new RuntimeException(format("entry '%s' not found", path));
    }
    return result;
  }
public @NotNull Entry getEntry(@NonNls String path)