[Seaside] Catching exceptions

Philippe Marschall philippe.marschall at gmail.com
Mon Jan 7 20:14:21 UTC 2013


On Mon, Jan 7, 2013 at 2:04 PM, Joachim Tuchel <jtuchel at objektfabrik.de> wrote:
> Hi Karsten,
>
> in the meantime, I found the reason, and it is as I suspected:
>
> Some places in VA Smalltalk still use instance based exceptions and these
> will not be caught and therefor not be forwarded to a WAExceptionHandler.
> In VA Smalltalk Object>>#error: signals an instance based exception. So if
> somewhere in a callback method you use error:, you fire an exception that
> doesn't get caught by the Seaside machinery.
>
> Instantiations discourages the use of instance based exceptions and is
> removing them from VAST step by step, but it's not done yet. And they cannot
> force users to change their code immediately, so I need to find a way to
> extend Seaside to catch instance based exveptions as well as class based
> ones.
>
> Does anyone have a quick pointer where to look? I'll dive right into the
> browsers now and look myself... ;-)

WAExceptionFilter >> #handleFiltered:

Cheers
Philippe


More information about the seaside mailing list