- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for getExceptions (0.24 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
if (result.hasExceptions()) { throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(), request.getArtifact(), request.getRemoteRepositories()); } } private static <T> List<T> toList(Collection<T> items) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
System.err.println("Missing: " + artifact); } } if (result.hasExceptions()) { for (Exception e : result.getExceptions()) { e.printStackTrace(); } } }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
// ------------------------------------------------------------------------ public boolean hasExceptions() { return exceptions != null && !exceptions.isEmpty(); } public List<Exception> getExceptions() { return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions); } // ------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 9.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
// ------------------------------------------------------------------------ public boolean hasExceptions() { return exceptions != null && !exceptions.isEmpty(); } public List<Exception> getExceptions() { return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions); } // ------------------------------------------------------------------------
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - getException") void testGetException() { // Given Exception expectedException = new Exception("Test exception"); when(response.getException()).thenReturn(expectedException); // When Exception actualException = response.getException(); // Then assertEquals(expectedException, actualException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
when(mockResponse.getException()).thenReturn(testException); assertEquals(testException, mockResponse.getException()); // Test null exception when(mockResponse.getException()).thenReturn(null); assertNull(mockResponse.getException()); // Verify the method was called verify(mockResponse, times(2)).getException(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
ArtifactTransferResource artifact = wrap(event.getWagon().getRepository(), event.getResource()); ArtifactTransferEvent evt; if (event.getException() != null) { evt = new ArtifactTransferEvent(wagon, event.getException(), event.getRequestType(), artifact); } else { evt = new ArtifactTransferEvent(wagon, event.getEventType(), event.getRequestType(), artifact);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} catch (PrivilegedActionException e) { if (e.getException() instanceof SmbException) { throw (SmbException) e.getException(); } throw new SmbException("Unexpected exception during context initialization", e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertFalse(echoResponse.isReceived()); assertNull(echoResponse.getException()); echoResponse.exception(testException); assertTrue(echoResponse.isError()); assertTrue(echoResponse.isReceived()); assertEquals(testException, echoResponse.getException()); } @Test @DisplayName("Should clear received state")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0)