Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ChecksumFailedException (0.09 sec)

  1. 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)
  2. 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)
Back to top