On 13/02/13 17:42, Marek Potociar wrote:
> 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 UriBuilderand WebTargethave similar methods (e.g. resolveTemplates,
> resolveTemplateFromEncoded) but the declared exceptions are different -
> NPE (WebTarget) vs IAE (UriBuilder). Should we unify this?
The only concern is that UriBuilder IAE exceptions are checked by TCK
1.1 and guess with newer TCK too, if so than having most of UriBuilder
methods throwing IAE and two NPE might not be ideal, that is the only
issue
Cheers, Sergey
>
> Please let us know,
> Marek