Please go and visit your vet.

My deceased cat couldn't keep her food down either and was throwing up all day long. She was constipated and later diagnosed with stomach cancer. See your vet, because seeing your beloved pet suffer is heartbreaking.