1 /* 2 * @(#)BrokenBarrierException.java 1.3 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.util.concurrent; 9 10 /** 11 * Exception thrown when a thread tries to wait upon a barrier that is 12 * in a broken state, or which enters the broken state while the thread 13 * is waiting. 14 * 15 * @see CyclicBarrier 16 * 17 * @since 1.5 18 * @author Doug Lea 19 * 20 */ 21 public class BrokenBarrierException extends Exception { 22 private static final long serialVersionUID = 7117394618823254244L; 23 24 /** 25 * Constructs a <tt>BrokenBarrierException</tt> with no specified detail 26 * message. 27 */ 28 public BrokenBarrierException() {} 29 30 /** 31 * Constructs a <tt>BrokenBarrierException</tt> with the specified 32 * detail message. 33 * 34 * @param message the detail message 35 */ 36 public BrokenBarrierException(String message) { 37 super(message); 38 } 39 } 40