cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Error Handling
Date Tue, 07 Dec 1999 00:33:16 GMT
CHRISTOPH.OEHLER@SBB.CH wrote:
> 
> --- Erhalten von  I0.U150033 0512 20 5221              06.12.99 11.59
> 
> What about implementing an Error-handler-interface?
> 
> It would have only one method: handle (Document doc, Dictionary
> params, Writer write, Exception e).
> 
> In the implementation of the errorhandler one would be able to
> generate an output on the response stream.
> 
> So the user would be able to select the desired handler with an PI.
> 
> What do you think?

I came to the same conclusion about pluggability. I'll try to implement
it and see how that goes.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche

Mime
View raw message