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 |
14 |
> |
* not possible or desirable then {@code TimeoutException} should be |
15 |
|
* declared and thrown. |
16 |
|
* |
17 |
|
* @since 1.5 |
21 |
|
private static final long serialVersionUID = 1900926677490660714L; |
22 |
|
|
23 |
|
/** |
24 |
< |
* Constructs a <tt>TimeoutException</tt> with no specified detail |
24 |
> |
* Constructs a {@code TimeoutException} with no specified detail |
25 |
|
* message. |
26 |
|
*/ |
27 |
|
public TimeoutException() {} |
28 |
|
|
29 |
|
/** |
30 |
< |
* Constructs a <tt>TimeoutException</tt> with the specified detail |
30 |
> |
* Constructs a {@code TimeoutException} with the specified detail |
31 |
|
* message. |
32 |
|
* |
33 |
|
* @param message the detail message |