2 * Written by Doug Lea with assistance from members of JCP JSR-166
3 * Expert Group and released to the public domain, as explained at
4 * http://creativecommons.org/licenses/publicdomain
7 package java.util.concurrent;
10 * Exception indicating that the result of a value-producing task,
11 * such as a {@link FutureTask}, cannot be retrieved because the task
17 public class CancellationException extends IllegalStateException {
18 private static final long serialVersionUID = -9202173006928992231L;
21 * Constructs a <tt>CancellationException</tt> with no detail message.
23 public CancellationException() {}
26 * Constructs a <tt>CancellationException</tt> with the specified detail
29 * @param message the detail message
31 public CancellationException(String message) {