As a precautionary measure, I would take the cat to visit the vet. When something comes up with a kitty, it's always best to rule out possible medical causes first. One of my cats began throwing up around age 10; she turned out to have pancreatitis. With a careful diet, she lived to be age 15. Another of my cats was a puker all his life, and the vet could never find anything wrong with him. He, too, lived to be 15. So there may or may not be something to worry about with your cat. IMO, it's better safe than sorry, so my vote is definitely to see the vet.