No settlement of any case under this article shall become effective unless: (1) All parties to such case have been given an opportunity to object to such settlement before the court; and (2) The court has approved such settlement.