users@jax-rs-spec.java.net

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

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 25 Jan 2012 18:42:43 -0500

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


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com