felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Offermans <marcel.offerm...@luminis.nl>
Subject Re: ClassNotFoundException diagnostic messages
Date Tue, 25 Jul 2006 11:49:23 GMT
Hi Richard,

On Jul 25, 2006, at 10:44 , Richard S. Hall wrote:

> I had a good idea, I think, about how to deal with Felix'  
> diagnostic messages when ClassNotFoundExceptions occur. Rather than  
> log them, we should use the diagnostic message as the message of  
> the thrown CNF exception.

> The benefit of this approach is that the message is only printed  
> when the exception is not handled (or when it is logged), but not  
> in cases where it is handled. Thus, the developer should only see  
> the diagnostic messages when it matters and not when it doesn't.

I agree that this is a better way than logging these messages.

> I think this will work correctly and have committed the changes.  
> However, I need people to pay attention during their development to  
> see if they are still seeing the diagnostic messages when they need  
> them (and not when they don't).

I just tested this update and as far as I can tell, everything works  

Greetings, Marcel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message