code: private void checkArguments(final MetadataParserPath path, final List<?> confList) {
          if (path == null) {
              throw new IllegalArgumentException("Invalid configuration. The 'path' element missing!");
          } else if (confList == null) {
              throw new IllegalArgumentException(
                  "Invalid configuration. At least one 'descriptor' element has to be defined!");
          } else if (confList.isEmpty()) {
              throw new IllegalArgumentException(
                  "Invalid configuration. At least one 'descriptor' element has to be defined!");
          }
  
      }
docs: Validates the given arguments.
  
  @param path
  @param confList