# | Line 299 | Line 299 | public class CancellableTask implements | |
---|---|---|
299 | * @param timeout the maximum time to wait | |
300 | * @param unit the time unit of the timeout argument | |
301 | * @return computed result | |
302 | + | * @throws CancellationException if underlying computation was |
303 | + | * cancelled |
304 | * @throws ExecutionException if underlying computation threw an | |
305 | * exception | |
306 | * @throws InterruptedException if current thread was interrupted |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |