- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ChecksumFailedException (0.11 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/ChecksumFailedException.java
import org.apache.maven.wagon.TransferFailedException; /** * Occurs when a download checksum fails. * */ @Deprecated public class ChecksumFailedException extends TransferFailedException { public ChecksumFailedException(String s) { super(s); } public ChecksumFailedException(String message, Throwable cause) { super(message, cause); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
try { verifyChecksum(sha1ChecksumObserver, destination, temp, remotePath, ".sha1", wagon); } catch (ChecksumFailedException e) { // if we catch a ChecksumFailedException, it means the transfer/read succeeded, but the // checksum doesn't match. This could be a problem with the server (ibiblio HTTP-200 error
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
wagon.addExpectedContent("path", "expected-failure"); wagon.addExpectedContent("path.sha1", "b7bb97d7d0b9244398d9b47296907f73313663e6"); assertThrows( ChecksumFailedException.class, () -> wagonManager.getArtifact(artifact, repo, null, false), "Checksum verification did not fail"); wagon.clearExpectedContent();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (0)