7 |
|
package java.util.concurrent; |
8 |
|
|
9 |
|
/** |
10 |
< |
* Exception thrown when a blocking operation times out. |
11 |
< |
* <p> |
12 |
< |
* Blocking operations for which a timeout is specified need a means to |
13 |
< |
* indicate that the timeout has occurred. For many such operations it is |
14 |
< |
* possible to return a value that indicates timeout; when that is not |
15 |
< |
* possible then <tt>TimeoutException</tt> should be declared and thrown. |
10 |
> |
* Exception thrown when a blocking operation times out. Blocking |
11 |
> |
* operations for which a timeout is specified need a means to |
12 |
> |
* indicate that the timeout has occurred. For many such operations it |
13 |
> |
* is possible to return a value that indicates timeout; when that is |
14 |
> |
* not possible or desirable then <tt>TimeoutException</tt> should be |
15 |
> |
* declared and thrown. |
16 |
|
* |
17 |
|
* @since 1.5 |
18 |
– |
* @spec JSR-166 |
19 |
– |
* @revised $Date$ |
20 |
– |
* @editor $Author$ |
18 |
|
* @author Doug Lea |
19 |
|
*/ |
20 |
|
public class TimeoutException extends Exception { |