Legal fees, like other debts, are usually wiped clean in a Chapter 7 bankruptcy, but Jason DiBattista’s $35,000 debt to his divorce lawyer, Gregg Sodini, was not typical.

For one thing, DiBattista is himself a lawyer, concentrating in bankruptcy, and was once Sodini’s colleague at Cuyler Burk in Parsippany, N.J.