- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for toMessage (0.08 sec)
-
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) -
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) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
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) -
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)