product.setProductId(productId);
printer.println("Product: [id=" + productId + ", transferPct="
+ client.getProductPctTransferred(product) + "]");
} catch (Exception e) {
throw new CmdLineActionException("Failed to get percent transferred"
+ " for product id '" + productId + "' and ProductType name '"
+ productTypeName + "' : " + e.getMessage(), e);
}
}