RFuture.cause() method should return CancellationException and not throw it.
See original GitHub issueCode to reproduce the issue:
RedissonPromise p = new RedissonPromise();
p.cancel(true);
p.cause();
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
java - CancellationException when using ExecutorService
get() throws a CancellationException because the timeout has been reached and the executor calls future.cancel() . You could either: increase ...
Read more >Futures (Guava: Google Core Libraries for Java 31.1-jre API)
The returned Future can't be cancelled, and its isDone() method always returns true . Calling get() will immediately throw the provided Throwable wrapped...
Read more >Are You Handling Exceptions in Kotlin Coroutines Properly?
In this article I will try to show situations where you need to be more cautious about exceptions and show some best practices...
Read more >Java Callable and Future Tutorial - CalliCoder
ExecutorService.submit() method returns immediately and gives you a ... because future.get() method throws CancellationException if the task ...
Read more >KafkaFuture (kafka 2.7.0 API)
If not already completed, causes invocations of get() and related methods to throw ... If any future throws an exception, the returned future...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@trasa
This issue was fixed in 3.10.2 please update to the latest version and give your feedback.
Any timeline to add this to 3.10.x version and release?