Package org.jcsp.lang
Class AltingBarrierError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- org.jcsp.lang.AltingBarrierError
-
- All Implemented Interfaces:
Serializable
public class AltingBarrierError extends Error
This is thrown for an illegal operation on anAltingBarrier.Description
Currently, there are the following causes:- different threads trying to operate on the same front-end;
-
attempt to use as a
Guardwhilst resigned; -
attempt to
syncwhilst resigned; -
attempt to
resignwhilst resigned; -
attempt to
enrollwhilst enrolled; -
attempt to
expandwhilst resigned; -
attempt to
contractwhilst resigned; -
attempt to
contractwith an array of front-ends not supplied byexpand; -
attempt to
markwhilst resigned (caused by a process transfering a front-end in that state).
- Author:
- P.H. Welch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AltingBarrierError(String s)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AltingBarrierError
public AltingBarrierError(String s)
-
-