cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject exception handling
Date Tue, 14 May 2002 13:20:37 GMT

as you might have noticed I've added some features to reduce the the burden 
when it comes to debugging XSP. (I suffered from that again when looking into 
the latest esql bug - and it pissed me off that much that I needed to change 
something on that ;-)

As for one I added the source code excerpts to the LanguageException so it 
shows you the actual source code  that surround the compilation error.
(this was brought up on cocoon-users lately)

Well, now I wanted to pretty-print the LanguageException as other Exceptions 
are already... unfortunately I didn't understand what I found...
Thanks to Sylvain who gave me some help off the list but seems I don't 
understand that mechanism yet...

Looking at the stacktrace of the LanguageException I see:


Currently the Beautified-Exceptions are constructed in the Cocoon.service 
method by sending a notification.

Shouldn't the LanguageException already get caught by the last catch clause 
and become beautified, too? It's a catch(Exception) around the processing of 
request?! What did I miss here?

To unsubscribe, e-mail:
For additional commands, email:

View raw message