Yes your body gets intensely agitated from your tears and upset that it begins to convert your emotional pain into physical pain which is vomiting. It does'nt mean that you are unhealthy, it simply means that your body is in working order :)
This was the first episode that has apparently happened, but if it continues to happen you really should go see your general medical practitioner as it could possibly be something that is serious and needs to be taken care of as soon as you notice it.
These things happen. No need to worry.