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 |
*/ |
6 |
|
7 |
package java.util.concurrent; |
8 |
|
9 |
/** |
10 |
* Exception thrown when a thread tries to wait upon a barrier that is |
11 |
* in a broken state, or which enters the broken state while the thread |
12 |
* is waiting. |
13 |
* |
14 |
* @see CyclicBarrier |
15 |
* |
16 |
* @since 1.5 |
17 |
* @spec JSR-166 |
18 |
* @revised $Date: 2003/06/24 14:34:47 $ |
19 |
* @editor $Author: dl $ |
20 |
* @author Doug Lea |
21 |
* |
22 |
*/ |
23 |
public class BrokenBarrierException extends Exception { |
24 |
private static final long serialVersionUID = 7117394618823254244L; |
25 |
|
26 |
/** |
27 |
* Constructs a <tt>BrokenBarrierException</tt> with no specified detail |
28 |
* message. |
29 |
*/ |
30 |
public BrokenBarrierException() {} |
31 |
|
32 |
/** |
33 |
* Constructs a <tt>BrokenBarrierException</tt> with the specified |
34 |
* detail message. |
35 |
* |
36 |
* @param message the detail message |
37 |
*/ |
38 |
public BrokenBarrierException(String message) { |
39 |
super(message); |
40 |
} |
41 |
} |