Really sorry to hear that. But be the better person and think rationally. Let the other person know that this was not ok behavior. If this has been a pattern then smile and act calm and start to look for a new job.
I know you have traveled far but trust me in retrospect everything will make sense. Just act smartly and not emotionally. But i understand the anger i would get if i am shouted upon.