private void setVersionInBitSet(long version) {
    long bitToSet = version - bitSetVersion;
    if (bitToSet > BIT_SET_WIDTH) {
      Assert.fail("Trying to set a bit larger than the size of the bitset " + bitToSet);
    }
    bitSet.set(Math.toIntExact(bitToSet));
  }
Add exceptions from the BitSet array to the exceptions list. Assumes that the BitSet[0]
corresponds to this.bitSetVersion. This scans the bitset looking for gaps that are recorded as
RVV exceptions. The scan terminates at numBits or when the last set bit is found. The bitSet is
adjusted and a new bitSetVersion is established.

@param newVersion the desired new bitSetVersion, which may be > the max representable in the
       bitset. This should *always* be a version that has been received, because this
       method may need to create an exception up to this version, and the existance of an
       exception implies that the final version was received.
geode-core/src/main/java/org/apache/geode/internal/cache/versions/RegionVersionHolder.java