Implement exceptions

Add values checks for price and discount.