void handleDiskAccessException(DiskAccessException dae, boolean duringInitialization) {

    if (duringInitialization && !(dae instanceof ConflictingPersistentDataException)) {
      return;
    }

    if (causedByRDE(dae)) {
      return;
    }

    // log the error
    String msg =
        String.format(
            "A DiskAccessException has occurred while writing to the disk for region %s. The cache will be closed.",
            fullPath);
    logger.error(msg, dae);

    // forward the error to the disk store
    getDiskStore().handleDiskAccessException(dae);
  }
@param dae DiskAccessException encountered by the thread
@param duringInitialization indicates that this exception occurred during region
       initialization. Instead of closing the cache here, we rely on the region initialization
       to clean things up.
@see DistributedRegion#initialize(InputStream, InternalDistributedMember,
     InternalRegionArguments)
@see LocalRegion#initialize(InputStream, InternalDistributedMember, InternalRegionArguments)
@see InitialImageOperation#processChunk
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java