int counter = 1;
for (final Exception exception : exceptions) {
log.log(Level.SEVERE, "Version range request failed", exception);
builder.append(counter++).append("/ ").append(exception.getLocalizedMessage()).append("\n");
}
throw new VersionResolutionException(builder.toString());
}
} catch (VersionRangeResolutionException vrre) {
throw new VersionResolutionException("Version range request failed", vrre);
}
}