commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Wiedmann <jochen.wiedm...@gmail.com>
Subject Re: [discovery] help on last 2 open issues
Date Fri, 08 Apr 2011 11:36:59 GMT
On Fri, Apr 8, 2011 at 1:23 PM, Simone Tripodi <simonetripodi@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-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message