Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for formatErrorMessage (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

                    String message = matcher.formatErrorMessage("Task", searchContext);
                    spec.contextualLabel(message)
                        .withException(new TaskSelectionException(message));
                });
            }
            String message = String.format("Cannot locate %s that match '%s' as %s", context.getType(), context.getOriginalPath(),
                matcher.formatErrorMessage("task", searchContext));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/util/NameMatcher.java

            return candidates;
        }
    
        /**
         * Returns a formatted error message describing why the pattern matching failed.
         *
         * @return The error message.
         */
        public String formatErrorMessage(String singularItemDescription, Object container) {
            String capItem = StringUtils.capitalize(singularItemDescription);
            if (!matches.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:48:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

            return candidates;
        }
    
        /**
         * Returns a formatted error message describing why the pattern matching failed.
         *
         * @return The error message.
         */
        public String formatErrorMessage(String singularItemDescription, Object container) {
            if (!matches.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                nameMatcher.configureProblemId(spec);
                String message = String.format("Cannot locate %s that match '%s' as %s", context.getType(), context.getOriginalPath(), nameMatcher.formatErrorMessage("project", project.getDisplayName()));
                configureProblem(spec, message, context.getOriginalPath().getPath(), new ProjectSelectionException(message));
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top