[concurrency-interest] Exception handling with ParallelArray

Neal Gafter neal at gafter.com
Fri Dec 28 09:45:48 EST 2007

On Dec 28, 2007 5:57 AM, Doug Lea <dl at cs.oswego.edu> wrote:

> Neal Gafter wrote:
> > I don't get it.  (2), above, seems like a reason to include fancier
> > support for exception tunneling (the generic exception type can be
> > placed in the throws clause of ParallelArray.apply), rather than a
> > reason not to.
> Maybe so. I don't think I've seen a proposal that boils down
> to this sort of selective tunneling without adding more declaration
> overhead in those cases it isn't used though.

Again, I don't get it.  This comment sounds to me like it is conflating
declaration with use.  I agree that we want the uses not to be cluttered,
but adding a bit to the declaration doesn't seem harmful if it adds
something to the usabiity of the API.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20071228/afbe5b67/attachment.html 

More information about the Concurrency-interest mailing list