On Fri, Apr 8, 2011 at 1:23 PM, Simone Tripodi <simonetrip...@apache.org> wrote:

> Last and least: what about DISCOVERY-11? Can we consider "WONTFIX" too?

The bug report is not particularly clear. IMO, we should distinguish
between the following cases:

- The methods Service.providers throws an Exception, due to linkage
errors and the like. That would mean that it is completely useless in
such cases and we should consider to fix that. The desire should be to
return at least one usable provider, if any.
- The method Enumeration.hasNextElement() fails. That's a problem,
because it means the user cannot skip to a usable element.
- The method Enumeration.next() fails. That's not particularly well,
but if the user can catch the error and still skip to the next element
afterwards, it is acceptable. I agree that exceptions should not be
hidden here and we ought to keep compatibility in mind.
- The object returned by Enumeration.next() fails: That's not a
problem of discovery.


Jochen




-- 
I Am What I Am And That's All What I Yam (Popeye)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to