ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/BrokenBarrierException.java
Revision: 1.7
Committed: Tue Mar 15 19:47:03 2011 UTC (13 years, 3 months ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.6: +1 -1 lines
Log Message:
Update Creative Commons license URL in legal notices

File Contents

# User Rev Content
1 dl 1.2 /*
2     * Written by Doug Lea with assistance from members of JCP JSR-166
3 dl 1.6 * Expert Group and released to the public domain, as explained at
4 jsr166 1.7 * http://creativecommons.org/publicdomain/zero/1.0/
5 dl 1.2 */
6    
7 tim 1.1 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 dl 1.3 * @author Doug Lea
18 tim 1.1 *
19     */
20     public class BrokenBarrierException extends Exception {
21 dl 1.4 private static final long serialVersionUID = 7117394618823254244L;
22    
23 tim 1.1 /**
24     * Constructs a <tt>BrokenBarrierException</tt> with no specified detail
25     * message.
26     */
27     public BrokenBarrierException() {}
28    
29     /**
30     * Constructs a <tt>BrokenBarrierException</tt> with the specified
31     * detail message.
32     *
33     * @param message the detail message
34     */
35     public BrokenBarrierException(String message) {
36     super(message);
37     }
38     }