I am not a vet, but the fact that he threw up I believe is a good thing. That means he got rid of anything that was not sitting right in his tummy. I would keep a close eye on him for the rest of the day/night and if anything else is out of the ordinary then I would take him to the vet. For now I would assume he probably overate, or the food just did not sit right for whatever reason.