Package 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
Thrown by Barrier upon interruption of participant threads
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
The index that barrier would have returned upon normal return; -
Constructor Summary
ConstructorsConstructorDescriptionBrokenBarrierException
(int idx) Constructs a BrokenBarrierException with given indexBrokenBarrierException
(int idx, String message) Constructs a BrokenBarrierException with the specified index and detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
index
public final int indexThe index that barrier would have returned upon normal return;
-
-
Constructor Details
-
BrokenBarrierException
public BrokenBarrierException(int idx) Constructs a BrokenBarrierException with given index -
BrokenBarrierException
Constructs a BrokenBarrierException with the specified index and detail message.
-