@Override
    public RuntimeException generateCancelledException(Throwable e) {
      String reason = cancelInProgress();
      if (reason == null) {
        return null;
      }
      return dls.generateLockServiceDestroyedException(reason);
    }
Creates a new DLockStopper for the specified DLockService and DM.

@param dls the DLockService to check for DLS destroy
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java