public void exceptionOccurred(Exception exception) { removeOpenCall(ret, future); // System.out.println("nothing found: "+provider.getId()); // do not terminate serach when one node fails // what to do with exception? resultAvailable(null); // ret.setException(exception); } });