Hi Sean, Have a look at the StatusFilter, it catches any unhandled exception (thrown inside a "handle(Call)" method) and sets the call's status to INTERNAL_ERROR (500 in HTTP) in this case. You can override it to customize the status page displayed.
If you want a different status when an exception is thrown, you have to catch it manually at a lower level (still inside on handle(Call) or handleGet|Post|etc. methods). Best regards, Jerome > -----Message d'origine----- > De : news [mailto:[EMAIL PROTECTED] De la part de Sean Landis > Envoyé : vendredi 22 septembre 2006 22:16 > À : [email protected] > Objet : Best practice, error handling > > What's the best practice for error handling in an > intermediate restlet? I am > building a web service and I assume throwing an exception > will terminate the > forward chaining, is that correct? > > How is information passed back to the client? If set set say > status in the > client and then throw an exception, will that be propogated back? > > Thanks, > Sean > >

