static boolean causedByRDE(DiskAccessException dae){
  boolean result=false;
  if (dae != null) {
    Throwable cause=dae.getCause();
    while (cause != null) {
      if (cause instanceof RegionDestroyedException) {
        result=true;
        break;
      }
      cause=cause.getCause();
    }
  }
  return result;
}

static boolean causedByRDE ( DiskAccessException dae ) { boolean result = false ; if ( dae != null ) { Throwable cause = dae . getCause ( ) ; while ( cause != null ) { if ( cause instanceof RegionDestroyedException ) { result = true ; break ; } cause = cause . getCause ( ) ; } } return result ; }
return true if dae was caused by a regiondestroyedexception . this was added for bug 39603 .
