ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jdk7/java/util/concurrent/BrokenBarrierException.java
Revision: 1.2
Committed: Wed Jan 16 01:39:37 2013 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Log Message:
<tt> -> {@code

File Contents

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