void beginWait(BarrierImplementation b) throws CancelledBarrierException { throw new CancelledBarrierException("Barrier is cancelled"); }
boolean awoken(BarrierImplementation b) throws CancelledBarrierException { throw new CancelledBarrierException("Cancelled while waiting"); }