throw new ServiceUnavailableException("Couldn't get providers list. Please try again later"); subnetInterface.addSubnet(singleton); if (instances != null) { for (Object instance : instances) { while (i.hasNext()) { NeutronSubnet test = i.next(); subnetInterface.addSubnet(test); if (instances != null) { for (Object instance : instances) {