@Override
  public void toData(DataOutput out) throws IOException {
    InternalDataSerializer.writeUnsignedVL(previousVersion, out);
    writeReceived(out);
  }
internal method to add a new version to the received-versions collection
geode-core/src/main/java/org/apache/geode/internal/cache/versions/RVVException.java