EDU.oswego.cs.dl.util.concurrent
Class BrokenBarrierException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
EDU.oswego.cs.dl.util.concurrent.BrokenBarrierException
- All Implemented Interfaces:
- Serializable
- public class BrokenBarrierException
- extends RuntimeException
Thrown by Barrier upon interruption of participant threads
- See Also:
- Serialized Form
Field Summary |
int |
index
The index that barrier would have returned upon
normal return; |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
index
public final int index
- The index that barrier would have returned upon
normal return;
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.