code: public void setConfig(Configuration config) {
  		if (config == null) {
  			throw new IllegalArgumentException("Parameter config must not be null.");
  		}
  	    this.config = config;
  	    this.loadFrom(config);
  	}
docs: Sets the current configuration of the passive scanner.
  
  @param config the configuration of the scanner
  @throws IllegalArgumentException if the given parameter is {@code null}.
  @since 1.4.0
  @see #getConfig()