ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CancellationException.java
Revision: 1.5
Committed: Sun Aug 31 13:33:13 2003 UTC (20 years, 9 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_NOV3_FREEZE
Changes since 1.4: +3 -9 lines
Log Message:
Removed non-standard tags and misc javadoc cleanup

File Contents

# User Rev Content
1 tim 1.1 /*
2 dl 1.2 * Written by Doug Lea with assistance from members of JCP JSR-166
3     * Expert Group and released to the public domain. Use, modify, and
4     * redistribute this code in any way without acknowledgement.
5 tim 1.1 */
6    
7     package java.util.concurrent;
8    
9     /**
10 dl 1.5 * Exception indicating that the result of a value-producing {@link
11     * Cancellable} task, such as a {@link FutureTask}, cannot be
12     * retrieved because the task was cancelled.
13 tim 1.1 *
14     * @since 1.5
15 dl 1.3 * @author Doug Lea
16 tim 1.1 */
17     public class CancellationException extends IllegalStateException {
18 dl 1.4 private static final long serialVersionUID = -9202173006928992231L;
19 tim 1.1
20     /**
21     * Constructs a <tt>CancellationException</tt> with no detail message.
22     */
23     public CancellationException() {}
24    
25     /**
26     * Constructs a <tt>CancellationException</tt> with the specified detail
27     * message.
28     *
29     * @param message the detail message
30     */
31     public CancellationException(String message) {
32     super(message);
33     }
34     }