56575859606162
catch (Exception e) { // invalid command } System.out.println("Invalid command."); return new HelpCommand(action); }
271272273274275276277
public boolean accept(Action action, String[] words) { return action.equals(Action.HELP); } public Command interpret(Language language, Action action, String[] words, String[] wordsWithConj) { return new HelpCommand(action); }