public void exceptionOccurred(Exception exception) { synchronized(exceptionCounter) { exceptionCounter.resultAvailable(null); if (exceptionCounter.getCnt() == 2) { ret.setException(exception); } } } };
public void exceptionOccurred(Exception exception) { synchronized(exceptionCounter) { exceptionCounter.resultAvailable(null); if (exceptionCounter.getCnt() == 2) { ret.setException(exception); } } } };