ConfParser: Throw exceptions if anything fails

This way we can also return something useful.so, still not closed. whats your opinion on this?