users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Unify WebTarget and UriBuilder exceptions?

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Wed, 13 Feb 2013 18:42:45 +0100

Hello experts,

IIRC, we touched on this topic once, but I cannot recall a strong decision being made:
http://java.net/jira/browse/JAX_RS_SPEC-354

Both UriBuilder and WebTarget have similar methods (e.g. resolveTemplates, resolveTemplateFromEncoded) but the declared exceptions are different - NPE (WebTarget) vs IAE (UriBuilder). Should we unify this?

Please let us know,
Marek