protected void checkCancellation() {
    DistributionManager dm = getDistributionManager();
    // TODO does dm == null mean we're dead?
    if (dm != null) {
      dm.getCancelCriterion().checkCancelInProgress(null);
    }
  }
Handles an <code>ExecutionException</code> by examining its cause and throwing an appropriate
runtime exception.
geode-core/src/main/java/org/apache/geode/admin/internal/AdminDistributedSystemImpl.java