From: Bill B. <bb...@re...> - 2008-11-21 16:37:14
|
Michael Brackx wrote: > On Fri, Nov 21, 2008 at 4:25 PM, Solomon Duskis <sd...@gm...> wrote: >> I fixed the spring module on trunk. >> >> There's a test case that shows that this is expected behavior: >> org.jboss.resteasy.test.finegrain.client.ClientResponseTest.testErrorResponse() >> >> What should be done here? > > i misunderstood the documentation > > however IMHO > > @GET > ClientResponse<String> get() > > should not throw an exception and let you access the status code > accessing getEntity() should throw the exception > +1 I'll change the behavior. -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |