made solver error raise an exception
made solver error raise an exception