code: private void throwOrWarnAboutDescriptorProblem(String message) {
          if (validateDescriptions) {
              throw new IllegalArgumentException(message);
          }
          ControllerLogger.ROOT_LOGGER.warn(message);
      }
docs: Throws an exception or logs a message
  
  @param message The message for the exception or the log message. Must be internationalized