try {
boolean returnVal = new XmlRpcFileManagerClient(new URL(
this.filemgrUrl)).hasProduct(product.getName());
return new Boolean(returnVal).compareTo(compareItem);
} catch (Exception e) {
throw new PreconditionComparatorException(
"Failed to check for product " + product + " : "
+ e.getMessage());
}
}