code: public static void main(String[] args) {
      LOG.info("Validating configuration.");
      try {
        new InstancedConfiguration(ConfigurationUtils.defaults()).validate();
        LOG.info("Configuration is valid.");
      } catch (IllegalStateException e) {
        LOG.error("Configuration is invalid: {}", e.getMessage());
        System.exit(-1);
      }
      System.exit(0);
    }
docs: Console program that validates the configuration.
  
  @param args there are no arguments needed