OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [classpath/] [external/] [jsr166/] [java/] [util/] [concurrent/] [CancellationException.java] - Blame information for rev 768

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 768 jeremybenn
/*
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
5
 */
6
 
7
package java.util.concurrent;
8
 
9
/**
10
 * Exception indicating that the result of a value-producing task,
11
 * such as a {@link FutureTask}, cannot be retrieved because the task
12
 * was cancelled.
13
 *
14
 * @since 1.5
15
 * @author Doug Lea
16
 */
17
public class CancellationException extends IllegalStateException {
18
    private static final long serialVersionUID = -9202173006928992231L;
19
 
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.