avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject [logkit] ErrorHandler done
Date Thu, 30 Aug 2001 05:28:20 GMT

I finally got into a situation I needed to control ErrorHandling in LogKit so 
I went ahead and implemented it. LogTargets that are interested in delegating 
ErrorHandling now have to implement 

public interface ErrorAware
    void setErrorHandler( ErrorHandler errorHandler );

Couldn't think of a better name ;)

I added in a new base class AbstractTarget that implement basic functionality 
(open/close/errorhandling) required by almost all log targets. I adapted all 
the existing LogTargets to work with this system.

In theory everything should work (all the unit tests run) and there hasn't 
been any backwards compatability broken as far as I am aware ...



The two secrets to success:
   1- Don't tell anyone everything.

To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org

View raw message