throw exception when convergence failed, also in NewtonSolver.