throw exceptions when item or cart id are not available