- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 154 for getMessager (0.23 sec)
-
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
String fullMessage = message + "\n" + "Exception: " + e.getClass().getName() + "\n" + "Message: " + e.getMessage() + "\n" + "Stack trace:\n" + stackTrace; processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, fullMessage); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Sep 16 06:25:19 UTC 2024 - 6.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
messages = new ArrayList<>(); } public int getMessageCount() { return messages.size(); } public String getMessage(int i) { return messages.get(i); } public List<String> getMessages() { return Collections.unmodifiableList(messages); } public void addMessage(String message) { messages.add(message); }
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-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
() -> newModelResolver().resolveModel(parent, new AtomicReference<>()), "Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo")); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
} catch (RepositoryMetadataReadException e) { if (getLogger().isDebugEnabled()) { getLogger().warn(e.getMessage(), e); } else { getLogger().warn(e.getMessage()); } return setRepository; } if (repoMetadata.isSnapshot() && (previousMetadata != null)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java
if (e != null) { if (e instanceof MetadataNotFoundException) { logger.debug(e.getMessage()); } else if (logger.isDebugEnabled()) { logger.warn(e.getMessage(), e); } else { logger.warn(e.getMessage()); } } } @Override public void metadataInvalid(RepositoryEvent event) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
throw new TransferFailedException("Connection failed: " + e.getMessage(), e); } catch (AuthenticationException e) { throw new TransferFailedException("Authentication failed: " + e.getMessage(), e); } catch (AuthorizationException e) { throw new TransferFailedException("Authorization failed: " + e.getMessage(), e); } finally {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThat(expected.getMessage()).contains("1, 2"); } public void testOnlyElementMany() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> Stream.of(1, 2, 3, 4, 5, 6).collect(onlyElement())); assertThat(expected.getMessage()).contains("1, 2, 3, 4, 5, ..."); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 3.2K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java
void testNoProblems() { ToolchainsBuildingException e = new ToolchainsBuildingException(Collections.<Problem>emptyList()); assertEquals("0 problems were encountered while building the effective toolchains" + LS, e.getMessage()); } @Test void testOneProblem() { ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
try { return new Settings(delegate.read(reader, strict, null)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0)