On Wed, Feb 19, 2003 at 05:59:34PM +0100, Rickard Öberg wrote: > Anders Engström wrote: [snip] > > > >If a RuntimeException is thrown in Action.execute() it will propagate > >all the way up to the caller (if using WW in a servlet container, the > >servlet container would handle the Throwable - and ServletDispatcher's > >pretty error page will not be shown). > > > >Is this the way it is supposed to work - or should GenericDispatcher and > >ActionResult actually handle Throwable instead of Exception? > > I think you just found a bug :-) >
Heh.. well.. what can I say :) I'm extra sensitive when it comes to Exception/Throwable-catching. Spent one week chasing weird exceptions in an application where we use Oracle BC4J (persistence framework) which throws a lot of RuntimeException sub-classes. Our MVC framework were written to handle only Exception.. no log entries, no stack-traces nothing :) The framework catches Throwable now <smile>. //Anders -- |===================================| | Anders Engström | | [EMAIL PROTECTED] | | http://www.gnejs.net | |===================================| |Your mind is like an umbrella. | |It doesn't work unless you open it.| | /Frank Zappa | |===================================|
msg01881/pgp00000.pgp
Description: PGP signature