Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ChecksumFailedException (0.25 sec)

  1. 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);
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  3. 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();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top