java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ematgine.utils.concurrent.BrokenBarrierException
- All Implemented Interfaces:
- java.io.Serializable
- public class BrokenBarrierException
- extends java.lang.RuntimeException
Thrown by Barrier upon interruption of participant threads
| Nested classes inherited from class java.lang.Throwable |
|
|
Field Summary |
int |
index
The index that barrier would have returned upon
normal return; |
| Fields inherited from class java.lang.Throwable |
|
| 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,
java.lang.String message)
- Constructs a BrokenBarrierException with the
specified index and detail message.