Getting a divorce can be an unpleasant experience, to say the least.