void () { LOG.debug("Seed is " + mySeed); int i = 0; try { for (i = 0; i < RANDOM_ITERATIONS; i++) { ourActions.get(myRandom.nextInt(ourActions.size())).run(); validateSums(); } } catch (Throwable t) { String message = "Failed when run with seed=" + mySeed + " in iteration " + i; System.err.println(message); throw new RuntimeException(message, t); } }