Re: Hierarchy of WAHtmlErrorHandlers
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected]: > > 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:[email protected] > 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 > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:[email protected] 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 _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside