} else {
ArrayList<Throwable> errors = new ArrayList<Throwable>();
errors.add(new RuntimeException("State: " + random.nextLong()));
errors.add(new RuntimeException("State: " + random.nextLong()));
// Throw MultipleFailureException as if unchecked.
Rethrow.rethrow(new MultipleFailureException(errors));
}
}
}
}