15 |
|
* @spec JSR-166 |
16 |
|
* @revised $Date$ |
17 |
|
* @editor $Author$ |
18 |
+ |
|
19 |
|
*/ |
20 |
|
public class RejectedExecutionException extends RuntimeException { |
21 |
|
|
27 |
|
public RejectedExecutionException() { } |
28 |
|
|
29 |
|
/** |
30 |
< |
* Constructs a <tt>RejectedExecutionException</tt> with the specified detail |
31 |
< |
* message. The cause is not initialized, and may subsequently be |
32 |
< |
* initialized by a call to {@link #initCause(Throwable) initCause}. |
30 |
> |
* Constructs a <tt>RejectedExecutionException</tt> with the |
31 |
> |
* specified detail message. The cause is not initialized, and may |
32 |
> |
* subsequently be initialized by a call to {@link |
33 |
> |
* #initCause(Throwable) initCause}. |
34 |
|
* |
35 |
|
* @param message the detail message |
36 |
|
*/ |
39 |
|
} |
40 |
|
|
41 |
|
/** |
42 |
< |
* Constructs a <tt>RejectedExecutionException</tt> with the specified detail |
43 |
< |
* message and cause. |
42 |
> |
* Constructs a <tt>RejectedExecutionException</tt> with the |
43 |
> |
* specified detail message and cause. |
44 |
|
* |
45 |
|
* @param message the detail message |
46 |
|
* @param cause the cause (which is saved for later retrieval by the |
51 |
|
} |
52 |
|
|
53 |
|
/** |
54 |
< |
* Constructs a <tt>RejectedExecutionException</tt> with the specified cause. |
55 |
< |
* The detail message is set to: |
56 |
< |
* <pre> |
57 |
< |
* (cause == null ? null : cause.toString())</pre> |
56 |
< |
* (which typically contains the class and detail message of |
57 |
< |
* <tt>cause</tt>). |
54 |
> |
* Constructs a <tt>RejectedExecutionException</tt> with the |
55 |
> |
* specified cause. The detail message is set to: <pre> (cause == |
56 |
> |
* null ? null : cause.toString())</pre> (which typically contains |
57 |
> |
* the class and detail message of <tt>cause</tt>). |
58 |
|
* |
59 |
|
* @param cause the cause (which is saved for later retrieval by the |
60 |
|
* {@link #getCause()} method) |