[concurrency-interest] More Javadoc problems
cowwoc at bbs.darktech.org
Fri Dec 19 17:47:22 EST 2014
On 19/12/2014 5:15 PM, Peter Levart wrote:
> On 12/19/2014 10:30 PM, cowwoc wrote:
>> On 19/12/2014 4:10 PM, Peter Levart wrote:
>>> If you want to change the exceptional OR nonexceptional outcome of
>>> preceeding stage, then use handle() instead of whenComplete().
>> I can't.
>> If you handle() and attempt to re-throw the same exception, you will get:
>> unreported exception Throwable; must be caught or declared to be
> This problem has been discussed before on the list. See here:
> The basic principle is to wrap the Throwable as a cause into a
This is very useful, but why is this not documented in the Javadoc? It
could be mentioned after (or as part of) the last bullet item in the
I highly doubt anyone else will run into the aforementioned mailing list
post. This information should be easier to find.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest