Sean Legassick <[EMAIL PROTECTED]> writes:
> On 2000.12.06 14:29:36 +0000 Sean Legassick wrote:
> > > > I think that Exceptions should be propogated up. Also I would like
> the
> > > > ability to plug in an exception handler that Turbine.java would call
> -
> > > that
> > > > way I could arrange to mail reports to an administrator etc. Should
> be
> > > easy
> > > > with a TR property specifying a class that implements a standard
> > > interface.
> > >
> > > +1
> >
> > I'll have a look at this...
>
> So where should this stuff go? I'm inclined to think that the _proper_ way
> to do it is to have a service - ExceptionHandlerService with a default
> implementation that does what Turbine.handleException currently does and
> gets invoked by Turbine.handleException. Or does that seem like overkill
> for the task. The other option would be to have an interface and default
> implementation in org.apache.turbine.util (ExceptionHandler and
> DefaultExceptionHandler).
>
> Thoughts?
It kinda seems like overkill to me, but at the same time I really
really like the elegance of the idea. +1
Daniel Rall
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]