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