Sounds like it has a furball, you may need to get a vet to give you a prescription to help the cat be able to get rid /expel the furball. Www.petalia.com.au/Templates/StoryTemplate_Process.cfm?specie=Cats&story_no=1116
My Cat Has Had Dry Heaves For Two Days Now, But Other Than That Is Perfectly Fine, What Could Be Wrong?
This does sound like fur balls and instead of going to the vet and spending a lot of money I found that a little Vaseline on the end of the nose where the cat can lick it off takes care of the problem nicely.
Probably a fur ball. Put vasiline on the top of its front paws, he will lick it and it will coat the esophagus and the fur ball will come up easier.