Jody Garnett a écrit :
> So that is what is supposed to throw the FactoryNotFoundException 
> exception? I hate seeing exceptions used for flow of control? Seriously 
> is that what is expected to happen? Or am I reading the code wrong?

This is what is expected to happen. I agree that using exceptions for control 
flow is usually deprecated. In this particular case, the exception has some 
value since we keep it around in order to rethrow it if FactoryCreator failed.

> I see, so we need to indicate what assumptions were made by default; so 
> the FactoryRegistry can detect that we ignored the user provided hints?

??? I'm not sure to understand what you means. We don't ignore user provided 
hints. We just pick up the one that are relevant to the factory.

        Martin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to