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. 2013 à 01:20, Chris Cheshire a écrit :

> I'm a little confused at the unhandled exception handling mechanism.
> 
> The documentation gives an example on how to get implement a handler for it 
> (http://www.stripesframework.org/display/stripes/Exception+Handling) and I am 
> looking at the bottom example which gives access to the action bean that 
> triggered the exception.
> 
> However, not only does the handle() method in the interface throw exceptions 
> (Servlet, IO), but the execute method on an ActionBean throws an Exception as 
> well. So what happens when the handler for otherwise unhandled exceptions 
> throws an unhandled exception?
> 
> At this point are we back to the default tomcat stack trace page?
> 
> ------------------------------------------------------------------------------
> Own the Future-Intel® Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest.
> Compete for recognition, cash, and the chance to get your game 
> on Steam. $5K grand prize plus 10 genre and skill prizes. 
> Submit your demo by 6/6/13. 
> http://p.sf.net/sfu/intel_levelupd2d_______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to