method.invoke((Object)priceGuide, (Object)commodity);
} catch (Exception ex) {
// Log any exceptions that occur.
// Logger.getLogger(PriceGuideService.class.getName()).log(Level.SEVERE, null, ex);
// Throw CommodityException due to problem with commodity.
throw new CommodityException(ex);
}
// Return priceGuide
return priceGuide;
}