@Override protected void executeOnBundles(List<Bundle> matchingBundles, List<String> subcommands) throws InvalidCommandException { assertEmpty(subcommands); try { printer.println("Sending resolve bundle request..."); boolean result = networkClient.resolveBundles(toBundleIds(matchingBundles)); if (!result) { printer.println("Unable to resolve all bundles."); } } catch (Exception exc) { printer.println("Unable to uninstall bundles due to error " + exc.getMessage()); exc.printStackTrace(); } }