docs: public static ValidationException fromResults(String correlationId, List<ValidationResult> results, boolean strict)
  			throws ValidationException {
  		boolean hasErrors = false;
  		for (ValidationResult result : results) {
  			if (result.getType() == ValidationResultType.Error)
  				hasErrors = true;
  			if (strict && result.getType() == ValidationResultType.Warning)
  				hasErrors = true;
  		}
  
  		return hasErrors ? new ValidationException(correlationId, results) : null;
  	}