Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 60 for getExceptions (0.38 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginArtifactsCache.java

        @Override
        public CacheRecord get(Key key) throws PluginResolutionException {
            CacheRecord cacheRecord = cache.get(key);
    
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
    
            return cacheRecord;
        }
    
        @Override
        public CacheRecord put(Key key, List<Artifact> pluginArtifacts) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        @Override
        public CacheRecord get(Key key) throws LifecycleExecutionException {
            CacheRecord cacheRecord = cache.get(key);
            if (cacheRecord != null && cacheRecord.getException() != null) {
                throw cacheRecord.getException();
            }
            return cacheRecord;
        }
    
        @Override
        public CacheRecord put(Key key, Set<Artifact> projectArtifacts) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            assertEquals("", summary.getReference());
            assertEquals(0, summary.getChildren().size());
            assertEquals(boom1, summary.getException());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionSummary.java

            this.reference = (reference != null) ? reference : "";
            this.children = (children != null) ? Collections.unmodifiableList(children) : Collections.emptyList();
        }
    
        public Throwable getException() {
            return exception;
        }
    
        public String getMessage() {
            return message;
        }
    
        public String getReference() {
            return reference;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

            return session.getCurrentProject();
        }
    
        @Override
        public MojoExecution getMojoExecution() {
            return mojoExecution;
        }
    
        @Override
        public Exception getException() {
            return exception;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        Optional<MojoExecution> getMojoExecution();
    
        /**
         * Gets the exception that caused the event (if any).
         *
         * @return the exception or {@code empty()} if none
         */
        Optional<Exception> getException();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java

                this.exception = exception;
            }
    
            public Set<Artifact> getArtifacts() {
                return artifacts;
            }
    
            public LifecycleExecutionException getException() {
                return exception;
            }
        }
    
        Key createKey(
                MavenProject project,
                Collection<String> scopesToCollect,
                Collection<String> scopesToResolve,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

                            "Could not find artifact org.apache.maven.its:dep-mng5459:pom:0.4.0-20130404.090532-2 in repo ("
                                    + newTestRepository().getUrl() + ")",
                            evt.getException().getMessage());
                    missingArtifactDescriptor = true;
                }
            }
    
            assertTrue(
                    missingArtifactDescriptor,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginArtifactsCache.java

        class CacheRecord {
    
            private final List<Artifact> artifacts;
    
            public List<Artifact> getArtifacts() {
                return artifacts;
            }
    
            public PluginResolutionException getException() {
                return exception;
            }
    
            private final PluginResolutionException exception;
    
            public CacheRecord(List<Artifact> artifacts) {
                this.artifacts = artifacts;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java

        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            out.warn(
                    "{} from {} for {}{}",
                    event.getException().getMessage(),
                    resource.getRepositoryId(),
                    resource.getRepositoryUrl(),
                    resource.getResourceName());
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 4K bytes
    - Click Count (0)
Back to Top