Improve query example for product types #30, throw exceptions since missing product type or attribute is an error.