How does that help obtain the error representation?

On Wed, Feb 16, 2011 at 9:57 AM, Chris Davis <[email protected]>wrote:

> Surround the get() with a try catch, catch the resource exception and check
> the status there as well as after the get(), something like
>
> ClientResource res = new ClientResource();
> Status stat;
>
> try{
> res.get();
> stat = res.getStatus();
> } catch (ResourceException e){
> stat = res.getStatus();
> }
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704818
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2704880

Reply via email to