public synchronized void completed () throws WrongStateException, UnknownTransactionException, SystemException { // returns original state final State state = coordinator.completed() ; if ((state != State.STATE_ACTIVE) && (state != State.STATE_COMPLETED)) { throw new WrongStateException() ; } }
public synchronized void completed () throws WrongStateException, UnknownTransactionException, SystemException { // returns original state final State state = coordinator.completed() ; if ((state != State.STATE_ACTIVE) && (state != State.STATE_COMPLETED)) { throw new WrongStateException() ; } }
public synchronized void completed () throws WrongStateException, UnknownTransactionException, SystemException { // returns original state final State state = coordinator.completed() ; if ((state != State.STATE_ACTIVE) && (state != State.STATE_COMPLETED)) { throw new WrongStateException() ; } }