Re: [Stripes-users] exception handler class

2013-04-02 Thread Remi VANKEISBELCK
Hi Chris, It only declares IOException and ServletException because the handler itself may fail (e.g. call to request.getDispatcher()), or so that, in case you want to, you can re-throw an exception that matches the servlet spec, and then let the container handle it. HTH Remi Le 2 avr.

Re: [Stripes-users] exception handler class

2013-04-02 Thread Chris Cheshire
So if I want to hide the stack trace output entirely, I still need a handler defined by error-pageexception-type ... in web.xml just in case the Stripes exception handling mechanism craps out then? On Tue, Apr 2, 2013 at 4:24 AM, Remi VANKEISBELCK r...@rvkb.com wrote: Hi Chris, It only

Re: [Stripes-users] exception handler class

2013-04-02 Thread Remi VANKEISBELCK
Note that when using request.getDispatcher() it's boiling down to the container crapping out :P Could happen e.g. if you try to dispatch to a non existing resource or stuff like that. If you wanna avoid this entirely then wrap everything in a try/catch in your Stripes exception handler. Then

Re: [Stripes-users] exception handler class

2013-04-02 Thread Chris Cheshire
Thanks Remi, I'll combine them both then. At least with the Stripes exception handling I get to fire off internal emails about the issue. On Tue, Apr 2, 2013 at 11:43 AM, Remi VANKEISBELCK r...@rvkb.com wrote: Note that when using request.getDispatcher() it's boiling down to the container