ConfParser: Throw exceptions if anything fails

This way we can also return something useful.