not the best behavior to run one's life by definitely, but as for the original question, the only exception in the bible I know of is for martial unfaithfulness, and as I understand it it more case of "Divorce is allowed, but you shouldn't remarry afterwards while your old spouse lives."