Properties properties = new Properties();
properties.load( cache.getInputStream() );
Enumeration names = properties.propertyNames();
while (names.hasMoreElements()) {
String name = (String) names.nextElement();
attempts.add(new ClassPackageRepositoryRemoteAttemptImpl(Long.parseLong(properties.getProperty(name)), name));
}
} catch (NumberFormatException e) {
throw ThrowableManagerRegistry.caught(e);
} catch (IOException e) {
throw ThrowableManagerRegistry.caught(e);