25262728293031
@Override public Event execute(Match match) { MatchState state = match.getState(); if (state != MatchState.notStarted) throw new IllegalStateException(state.toString()); return new StartMatchEvent(); }