On 2000.12.05 22:50:38 +0000 John McNally wrote:
> I would vote for having exceptions thrown up to the Turbine Servlet
> where they could be handled uniformly.
+1
> But that may not be practical,
> since you generally want to log at a certain priority. Maybe the
> logging should be done locally, but the exceptions should always be
> passed on to Turbine.java for final handling.
Perhaps the TurbineException class could contain a priority field filled by
constants from a standardised Log implementation...?
Or maybe that's too much interdependence...?
> What is your (and others) inclination?
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.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]