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

Reply via email to