[Seaside] Hierarchy of WAHtmlErrorHandlers

jtuchel at objektfabrik.de jtuchel at objektfabrik.de
Mon Jul 17 12:51:59 UTC 2017


Oh, and I forgot one special important question whcih is a prerequisite 
for the other two:

Am I right in assuming that you can register multiple ErrorHandlers in a 
Seaside App?

Joachim



Am 17.07.17 um 14:50 schrieb jtuchel at objektfabrik.de:
>
> Dear Seasiders
>
>
> I'd like to register a special HTM Error Handler for some Exceptions 
> and one for all others.
>
> I've seen there is a class Method #exceptionSelector in 
> WAErrorHandler, where you can define the Exceptions that the handler 
> wants to handle.
> Of course things are not so easy, because I want one handler for all 
> Errors and one for my special exception type, which, of course, is a 
> subtype of Error.
>
> Ho do I either
>
>   * Specify an order in which the handlers are tested whether they
>     handle: an exception? or
>   * Specifiy an ExceptionSet that includes Error and all its children,
>     but not my special type?
>
> Any ideas?
>
>
> Joachim
>
> -- 
> -----------------------------------------------------------------------
> Objektfabrik Joachim Tuchelmailto:jtuchel at objektfabrik.de
> Fliederweg 1http://www.objektfabrik.de
> D-71640 Ludwigsburghttp://joachimtuchel.wordpress.com
> Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-- 
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:jtuchel at objektfabrik.de
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170717/87f57264/attachment.html>


More information about the seaside mailing list