code: protected void handleUndefinedMode(CliOptionContainer option) {
  
      CliStyle style = this.cliState.getCliStyle();
      CliStyleHandling handling = style.modeUndefined();
      if (handling != CliStyleHandling.OK) {
        ObjectNotFoundException exception = new ObjectNotFoundException(CliMode.class, option.getOption().mode());
        handling.handle(getLogger(), exception);
      }
    }
docs: This method handles a {@link CliOption} with an {@link CliState#getMode(String) undefined} {@link CliOption#mode()}
  .
  
  @param option is the {@link CliOptionContainer}.