Clarify NotificationQueryParams checks
Using checkArgument() involves logical negation of the condition with
respect the message. This can get quite daunting when trying to
understand.
Switch to using plain if() statements, which make the logic much
clearer.
Also tie the messages to uri names, so users get clearer guidance.
Change-Id: I659921075fe3c9e4e234a86bceba24a771a1cf89
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
6b828e1710315104da40e750cc0c85593183bc68)
(cherry picked from commit
0ba2548351b626286902fcaadf87af838e6433cd)
(cherry picked from commit
024ef99ebba00f5f755f5ad30fd2c01376ca050e)