users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: No error conditions defined for get() in javadoc

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 27 Jan 2012 12:35:23 +0100

Can you please file an issue into Jira in case you haven't done so yet?

Marek

On 01/26/2012 12:42 AM, Bill Burke wrote:
> For methods like
>
> SyncInvoker
>
> <T> T get(Class<T> responseType) throws InvocationException;
>
>
> There is no javadoc specifying what happens if the response code is other than 200. An InvocationException should
> thrown for anything other than 200, but what about 204? I was thinking a null value should be returned in that case.
>
> Bill
>
>