was he upset at all. if mine gets mad, Like if i try to give him a bath, which hes not a fan of, or if he just gets upset then he will throw up also. the fact that hes eating now is a good sign that hes ok.
also did you hold him after he ate, because that causes mine to get sick also, you...