2122232425262728
@Override protected void doExecute() throws InvalidProcessStateException, ProcessExecutionException { super.doExecute(); if (context.consumeLocations() != null) { throw new ProcessExecutionException(new UserAlreadyRegisteredException(userId)); } }