commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Eadie <ga...@umich.edu>
Subject Re: [Commons Configuratin]: Suppress exceptions about missing optional property files?
Date Wed, 09 Apr 2008 14:40:04 GMT
That makes perfect sense, and is a nice design -- thanks for the  
explanation .. Gavin
_________________________________

On Apr 8, 2008, at 8:51 PM, Oliver Heger wrote:

> If a configuration marked as optional cannot be loaded,  
> DefaultConfigurationBuilder notifies all registered error listeners  
> (i.e. an error event is fired). Per default, an error listener is  
> registered that only logs the causing exception.
>
> To disable this behavior you can call clearErrorListeners() on the  
> DefaultConfigurationBuilder instance.


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