void (ThrowableRunnable<ExecutionException> action, ExecutionException[] ex) { try { if (myAllowIndexInDumbMode && DumbService.isDumb(myProject)) { myIncompleteIndexUsageCallback.run(); DumbModeAccessType.RELIABLE_DATA_ONLY.ignoreDumbMode(() -> { action.run(); return null; }); } else { action.run(); } } catch (ExecutionException e) { ex[0] = e; } }