I've never really thought about it because I've never felt that I was even remotely close to getting "chewed out". But sitting here thinking about it, I doubt I would handle it well at all. I can handle (well-founded) constructive criticism, but personal attacks? There's no room in the workplace for that. I've found that nothing kicks your superior's ass harder than quitting. If I was attacked in the manners described above, I'd sit there, listen to it, and then start looking for a job. Fighting back can result in your firing, which is not something you need.
The damage you can do to that individual during an exit interview is infinitely worse than that one ass chewing he/she gave you. The trick to it all, of course, is that you need to have a reputation of high quality work product, professional demeanor, and a valuable asset to the company.
If you're known as a calm, collected individual who delivers quality, then you can bet your ass the company will listen when you explain that you're leaving because John Smith can't leave his anger problems at home and instead insists on verbally abusing his employees and coworkers.