EDU.oswego.cs.dl.util.concurrent

Class BrokenBarrierException

public class BrokenBarrierException extends RuntimeException

Thrown by Barrier upon interruption of participant threads
Field Summary
intindex
The index that barrier would have returned upon normal return;
Constructor Summary
BrokenBarrierException(int idx)
Constructs a BrokenBarrierException with given index
BrokenBarrierException(int idx, String message)
Constructs a BrokenBarrierException with the specified index and detail message.

Field Detail

index

public final int index
The index that barrier would have returned upon normal return;

Constructor Detail

BrokenBarrierException

public BrokenBarrierException(int idx)
Constructs a BrokenBarrierException with given index

BrokenBarrierException

public BrokenBarrierException(int idx, String message)
Constructs a BrokenBarrierException with the specified index and detail message.