Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ChecksumAlgorithmServiceException (0.31 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmServiceException.java

     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    @Experimental
    public class ChecksumAlgorithmServiceException extends MavenException {
    
        private static final long serialVersionUID = 1201171469179367694L;
    
        public ChecksumAlgorithmServiceException(String message, Throwable cause) {
            super(message, cause);
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

    import org.apache.maven.api.di.Inject;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.services.ChecksumAlgorithmService;
    import org.apache.maven.api.services.ChecksumAlgorithmServiceException;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactory;
    import org.eclipse.aether.spi.connector.checksum.ChecksumAlgorithmFactorySelector;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        @Nonnull
        Collection<String> getChecksumAlgorithmNames();
    
        /**
         * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported.
         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
         * @throws NullPointerException if passed in name is {@code null}.
         */
        @Nonnull
        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

            try {
                return new DefaultChecksumAlgorithm(checksumAlgorithmFactorySelector.select(algorithmName));
            } catch (IllegalArgumentException e) {
                throw new ChecksumAlgorithmServiceException("unsupported algorithm", e);
            }
        }
    
        @Override
        public Collection<ChecksumAlgorithm> select(Collection<String> algorithmNames) {
            nonNull(algorithmNames, "algorithmNames");
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top