cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Error Handling
Date Tue, 07 Dec 1999 07:31:20 GMT
On Mon, 6 Dec 1999 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?

That would certainly mesh well with the existing paradigm for doing this
kind of thing. +1 from me.

- donald


Mime
View raw message