Concurrency and Exceptions
Eric Kolotyluk
eric at kolotyluk.net
Tue Nov 30 22:41:59 UTC 2021
Pedro... right you are, Future#get() can throw an ExecutionException from
the competition.
On Tue, Nov 30, 2021 at 2:37 PM Pedro Lamarão <pedro.lamarao at prodist.com.br>
wrote:
> Em ter., 30 de nov. de 2021 às 19:28, Eric Kolotyluk <eric at kolotyluk.net>
> escreveu:
>
>
>> Yes, in JDK 17 there is no way to find out the cause of a Future failing,
>>
>
> If the task terminates with an exception, Future.get raises an
> ExecutionException with the corresponding cause, no?
>
> --
> Pedro Lamarão
> https://www.prodist.com.br
> Securing Critical Systems
> Tel: +55 11 4380-6585
>
More information about the loom-dev
mailing list