Use custom exceptions for solverfactory.
We are currently throwing rather generic exceptions if something is wrong with the configuration.
Unfortunately, in user simulation code this might result in the algorithm misjudging this as convergence problems (e.g. in a Newton method) and will run the whole simulation.