amelioration gestion exceptions