FYI, this has just been fixed in SVN trunk. StatusService#getStatus(...) is now invoked when unhandled exceptions are thrown from annotated methods.
Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.org Noelios Technologies ~ http://www.noelios.com -----Message d'origine----- De : Thierry Boileau [mailto:[email protected]] Envoyé : vendredi 20 août 2010 12:06 À : [email protected] Objet : RE: Exception from annotated methods not handled by StatusService in R2.0 Hello Olivier, you're right, this is the current behaviour. I've entered an issue for that : http://restlet.tigris.org/issues/show_bug.cgi?id=1164 The getStatus method is called if your resource throws ResourceException. Bes tregards, Thierry Boileau ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2649184 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652464

