Lots of things could have made your cat vomit, my cat occasionally vomits for no particular reason. It could be a hair ball got stuck somewhere or he has eaten something he shouldn't have done. I don't think this is anything to worry about, but if it becomes a regular occurrence you should take him to see a vet.