AdminResponse sendAndWait(RegionAdminRequest msg) throws CacheException {
  msg.setRegionName(getFullPath());
  try {
    return vm.sendAndWait(msg);
  }
 catch (  RuntimeAdminException ex) {
    Throwable cause=ex.getRootCause();
    if (cause instanceof CacheException) {
      throw (CacheException)cause;
    }
 else     if (cause instanceof CacheRuntimeException) {
      throw (CacheRuntimeException)cause;
    }
 else {
      throw ex;
    }
  }
}

AdminResponse sendAndWait ( RegionAdminRequest msg ) throws CacheException { msg . setRegionName ( getFullPath ( ) ) ; try { return vm . sendAndWait ( msg ) ; } catch ( RuntimeAdminException ex ) { Throwable cause = ex . getRootCause ( ) ; if ( cause instanceof CacheException ) { throw ( CacheException ) cause ; } else if ( cause instanceof CacheRuntimeException ) { throw ( CacheRuntimeException ) cause ; } else { throw ex ; } } }
sends an adminrequest to this application ' s vm and waits for the adminreponse
