commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klinemeier <>
Subject Re: [configuration] no exception on missing key
Date Thu, 01 Sep 2005 16:17:02 GMT
Can one set that flag in the config file or the composite file?  I
hoped something like this would work, but no luck:

 <!--  the order of prescidence is first-to-last -->
 <xml fileName="prodConfig.xml"

On a related note, is there some kind of document that describes the
config options available in that file?  I feel like there's a doc page
I haven't found yet.

(initially sent to the wrong list, sorry for the cross-post)

Oliver Heger wrote:
> You are right, Moran, setting the throwExceptionOnMissing flag should do
> the trick.
> However we should rework the javadocs for the Configuration getter
> methods. They in fact claim that an exception is always thrown for
> missing properties!

> Oliver

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message