The only reasonable sitation thatsituation where this would be a valid reaction to, would be if you lied on your CV in an important point.
I am not talking aboutmentioning a little exaggeration, not something like blowing all technical questions where you did not have as much experience as one would like, but misstating hard facts, like making up a PHD. Something like that would be fraud, and an employee would be obligated, should he become aware of such a situation to limit the damage to his employer.
Even thenNonetheless, the behavior they showed is unprofessional - it should be clearly stated if that happens.
In all other cases, the behavior is completely unusual, unprofessional, and should be reason to askfor consulting a lawyer for help.