Fail if name is already claimed
Make request_name
fail if the DBus server replies with Exists
, that is, if the requested name is already owned by someone else.
Also remove ReplaceExisting
from the set of passed flags, because this method doesn't specify AllowReplacement
either. Hence ReplaceExisting
is somewhat redundant within the scope of request_names
: For it to make any difference callers would have to bypass request_name
and directly use DBusProxy::request_name
anyway, in order to pass AllowReplacement
, and at this point they can also manually pass ReplaceExisting
anyway.
Closes #199 (closed)