Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toMessage (0.16 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

        }
    
        private static String toMessage(ModelBuildingResult result) {
            if (result != null && !result.getModelIds().isEmpty()) {
                return toMessage(result.getModelIds().get(0), result.getProblems());
            }
            return null;
        }
    
        // Package protected for test
        static String toMessage(String modelId, List<ModelProblem> problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

            super(toMessage(goal, pluginDescriptor));
    
            this.goal = goal;
            this.pluginDescriptor = pluginDescriptor;
        }
    
        public String getGoal() {
            return goal;
        }
    
        public PluginDescriptor getPluginDescriptor() {
            return pluginDescriptor;
        }
    
        private static String toMessage(String goal, PluginDescriptor pluginDescriptor) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

         *
         * @param problems The problems that cause this exception, must not be {@code null}.
         */
        public ToolchainsBuildingException(List<Problem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint.go

    	startTime := time.Now()
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    	if ctx.Namespace() == "" {
    		fmt.Fprintln(w, "NAMESPACE\tNAME\tSTATUS\tTYPE\tREASON\tMESSAGE")
    	} else {
    		fmt.Fprintln(w, "NAME\tSTATUS\tTYPE\tREASON\tMESSAGE")
    	}
    	for _, gw := range gw {
    		for range ticker.C {
    			programmed := false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top