BrokenBarrierException


BrokenBarrierException java.util.concurrent

Java 5.0 serializable checked

An exception of this type is thrown when a thread calls CyclicBarrier.await( ) on a broken barrier, or when the barrier is broken while a thread is waiting. A CyclicBarrier enters a broken state when one of the waiting threads is interrupted or times out.

Figure 16-73. java.util.concurrent.BrokenBarrierException

 public class  BrokenBarrierException  extends Exception {  // Public Constructors  public  BrokenBarrierException  ( );        public  BrokenBarrierException  (String  message  );   } 

Thrown By

CyclicBarrier.await( )



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net