[concurrency-interest] Layered exception handling with CompletableFuture

Zhong Yu zhong.j.yu at gmail.com
Wed Aug 27 12:24:57 EDT 2014

On Wed, Aug 27, 2014 at 3:39 AM, Millies, Sebastian <
Sebastian.Millies at softwareag.com> wrote:
> And it also does not seem to address the one-stop exception-handling
concern, because guess I would somehow need to call
CompletableFuture#handle() and that can’t throw. Even in bayou, from a
cursory look at Async.java, it seems that catch_() doesn’t rethrow the
 exception if it is not of the appropriate class.

If the exception does not match the type, it is not "caught", it will just
propagate through.

Zhong Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20140827/8375871f/attachment.html>

More information about the Concurrency-interest mailing list