- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 515 for getMessages (0.1 sec)
-
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
String cause = assertThrows( IllegalArgumentException.class, () -> projectManager.attachArtifact(project, artifact, artifactPath)) .getMessage(); Supplier<String> message = () -> String.format("The exception message does not contain the expected GAV. Message was:%n%s%n", cause); assertTrue(cause.contains(expectedGAV), message);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { errors.add(new ProfileActivationException(req.getMessage(), req.getException())); } }); if (!errors.isEmpty()) { throw errors.get(0); } return profiles; } /* (non-Javadoc)
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
count++; } final String message = "Failed to access to " + request.getUrl() + exceptionList.stream().map(e -> "; " + e.getMessage()).collect(Collectors.joining()); throw new MultipleCrawlingAccessException(message, exceptionList.toArray(new Throwable[exceptionList.size()])); } finally { if (listener != null) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} assertEquals(1, logHandler.getStoredLogRecords().size()); assertEquals( "Exception while executing callback: MyListener custom-label", logHandler.getStoredLogRecords().get(0).getMessage()); } public void testEnqueueAndDispatch_multithreaded() throws InterruptedException { Object listener = new Object(); ExecutorService service = newFixedThreadPool(4);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
} assertEquals(1, logHandler.getStoredLogRecords().size()); assertEquals( "Exception while executing callback: MyListener custom-label", logHandler.getStoredLogRecords().get(0).getMessage()); } public void testEnqueueAndDispatch_multithreaded() throws InterruptedException { Object listener = new Object(); ExecutorService service = newFixedThreadPool(4);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
stream.forEach(lines::add); } catch (IOException ex) { // If a file can't be read, add an error addError(errors, file, new Error(1, "Failed to read file: " + ex.getMessage())); return; } boolean inExample = false; // between ==== ... ==== List<Snippet> currentSnippets = new ArrayList<>(); for (int i = 0; i < lines.size(); i++) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Aug 29 10:12:17 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
} catch (final UnknownHostException uhe) { this.uhe = uhe; } catch (final Exception ex) { this.uhe = new UnknownHostException(ex.getMessage()); } finally { synchronized (sem) { sem.count--; sem.notify(); } } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> { Strings.getOEMBytes(TEST_STRING, mockConfig); }); assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding"); assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields))); return collector.toByteArray(); } catch (final IOException ex) { throw new IllegalStateException(ex.getMessage()); } } @Override protected void parse(final byte[] token) throws IOException { try (ASN1InputStream der = new ASN1InputStream(token)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0)