Add a throw if both options are specified