private void checkPdxEnumCompatibility(TypeRegistry tr) {
      if (tr == null) {
        return;
      }

      for (Map.Entry<Integer, EnumInfo> entry : pdx.enums().entrySet()) {
        tr.addImportedEnum(entry.getKey(), entry.getValue());
      }
    }
Reads a snapshot entry. If the last entry has been read, a null value will be returned.

@return the entry or null
@throws IOException unable to read entry
@throws ClassNotFoundException unable to create entry
geode-core/src/main/java/org/apache/geode/internal/cache/snapshot/GFSnapshot.java