[Seaside] Catching exceptions

Norbert Hartl norbert at hartl.name
Mon Jan 7 11:15:16 UTC 2013

Hi Joachim,

Am 07.01.2013 um 10:22 schrieb jtuchel <jtuchel at objektfabrik.de>:

> Hi,
> I have registered a subclass of WAHtmlErrorHandler with my Application using
> myApp := WAAdmin register:..asApplicationAt:....
> myApp exceptionHandler: MyExceptionHandlerClass.
> And it does show its error page sometimes, but often an Exception thrown in
> an ActionCallback simply pops up a debugger in the development image and
> silently exits a runtime image.
> You can sure imagine that this is not my intended behaviour.
> In the walkback I can clearly see that an exception gets thrown and handled
> as usual, My HTML exception handler is never sent a message to.
> Any ideas?
> I am using Seaside 3.06 on VA Smalltalk 8.5.2.
did you add an WAExceptionFilter (myApp addFilter: WAExceptionFilter new)? This class prevents exceptions to be unhandled. The exception filter is configurable for the kind of exception handling you want. It can be walkback handler, email handler, …


More information about the seaside mailing list