What is the judge investigating during detention?

Kitab al-Hajr: Claimed Insolvency, Detention and Release