Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for exceptions (0.19 sec)

  1. maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        // Exceptions
        // ------------------------------------------------------------------------
    
        public boolean hasExceptions() {
            return exceptions != null && !exceptions.isEmpty();
        }
    
        public List<Exception> getExceptions() {
            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *
         * @param exceptions the exceptions that occurred while building the dependency graph
         * @param root the root node of the dependency graph
         * @param count estimated number of dependencies
         */
        DefaultDependencyResolverResult(List<Exception> exceptions, Node root, int count) {
            this.exceptions = exceptions;
            this.root = root;
            nodes = new ArrayList<>(count);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java

                        }
                    } catch (ModelParserException e) {
                        exceptions.add(e);
                    }
                }
                try {
                    return doRead(request);
                } catch (IOException e) {
                    exceptions.forEach(e::addSuppressed);
                    throw e;
                }
            } else {
                return doRead(request);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultDependencyResolutionResult.java

        }
    
        public List<Exception> getCollectionErrors() {
            return collectionErrors;
        }
    
        public void setCollectionErrors(List<Exception> exceptions) {
            if (exceptions != null) {
                this.collectionErrors = exceptions;
            } else {
                this.collectionErrors = new ArrayList<>();
            }
        }
    
        public List<Exception> getResolutionErrors(Dependency dependency) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *
         * @param exceptions the exceptions that occurred while building the dependency graph
         * @param root the root node of the dependency graph
         * @param count estimated number of dependencies
         */
        DefaultDependencyResolverResult(List<Exception> exceptions, Node root, int count) {
            this.exceptions = exceptions;
            this.root = root;
            nodes = new ArrayList<>(count);
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    
    /**
     * Base class for artifact resolution exceptions.
     *
     */
    public class AbstractArtifactResolutionException extends Exception {
        private String groupId;
    
        private String artifactId;
    
        private String version;
    
        private String type;
    
        private String classifier;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 10.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Base class for all maven exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenException extends RuntimeException {
        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

        // Exceptions
        // ------------------------------------------------------------------------
    
        public boolean hasExceptions() {
            return exceptions != null && !exceptions.isEmpty();
        }
    
        public List<Exception> getExceptions() {
            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            this.dependencyResolutionResult = dependencyResolutionResult;
    
            return this;
        }
    
        public List<Throwable> getExceptions() {
            return exceptions;
        }
    
        public MavenExecutionResult addException(Throwable t) {
            exceptions.add(t);
    
            return this;
        }
    
        public boolean hasExceptions() {
            return !getExceptions().isEmpty();
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/BuildPluginManager.java

    public interface BuildPluginManager {
        // igorf: Way too many declared exceptions!
        PluginDescriptor loadPlugin(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
                        InvalidPluginDescriptorException;
    
        // igorf: Way too many declared exceptions!
        MojoDescriptor getMojoDescriptor(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top