@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }
@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }
@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }
@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }
@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }
@Override public Location get() { Set<? extends Location> locations = locationsSupplier.get(); try { return find(locations, isNetwork()); } catch (NoSuchElementException e) { throw new NoSuchElementException( "none of the locations are scope NETWORK: " + transform(locations, ToIdAndScope.INSTANCE)); } }