private void executeWithoutTransaction(final Executor exec,Command command) throws Exception {
  Exception cause=null;
  for (int i=0; i < MAXIMUM_NUM_RETRIES; i++) {
    try {
      exec.executeCommand(command,this);
      return;
    }
 catch (    Exception e) {
      cause=e;
      if (e instanceof RegionDestroyedException || e instanceof RegionNotFoundException || e.getCause() instanceof QueryInvocationTargetException)       Thread.sleep(WAIT_REGION_DSTRYD_MILLIS);
    }
  }
  throw cause;
}

private void executeWithoutTransaction ( final Executor exec , Command command ) throws Exception { Exception cause = null ; for ( int i = 0 ; i < MAXIMUM_NUM_RETRIES ; i ++ ) { try { exec . executeCommand ( command , this ) ; return ; } catch ( Exception e ) { cause = e ; if ( e instanceof RegionDestroyedException || e instanceof RegionNotFoundException || e . getCause ( ) instanceof QueryInvocationTargetException ) Thread . sleep ( WAIT_REGION_DSTRYD_MILLIS ) ; } } throw cause ; }
private helper method to execute a command without a transaction , done for special exception handling neatness
