throw an exception if the property does not exist