Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 90 for setException (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
            return profiles;
        }
    
        /* (non-Javadoc)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
            return exception;
        }
    
        /**
         * Returns the request type.
         *
         * @return Returns the request type. The Request type is one of
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                                    "Failed to process POM for " + artifact.getId() + ": " + missingParentPom.getMessage(),
                                    missingParentPom.getException(),
                                    artifact);
                        }
    
                        String message;
    
                        if (isMissingPom(e)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 12:03:50 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            TransferResource resource = event.getResource();
            // TODO This needs to be colorized
            out.println("[WARNING] " + event.getException().getMessage() + " from " + resource.getRepositoryId() + " for "
                    + resource.getRepositoryUrl() + resource.getResourceName());
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

                                .filter(projectsOutsideOfRequestScope)
                                .flatMap(projectBuildingResult -> projectBuildingResult.getProblems().stream())
                                .map(ModelProblem::getException)
                                .filter(pluginArtifactNotFoundException)
                                .map(exc -> ((PluginResolutionException) exc.getCause()).getPlugin())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                assertEquals(1, ((Collection) result.getProblems()).size());
                result.getProblems().forEach(p -> {
                    assertTrue(expectedException.isInstance(p.getException()));
                    assertTrue(p.getException().getMessage().contains(partOfMessage));
                });
            }
        }
    
        @Test
        void testProcessPackagingAttribute() throws ProjectBuildingException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testExceptionState() {
                Exception testException = new RuntimeException("Test error");
    
                assertNull(testBlock.getException());
    
                testBlock.exception(testException);
                assertEquals(testException, testBlock.getException());
            }
    
            @Test
            @DisplayName("Test error state")
            void testErrorState() {
                assertFalse(testBlock.isError());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestTest.java

                return expiration;
            }
    
            @Override
            public void setExpiration(Long exp) {
                this.expiration = exp;
            }
    
            @Override
            public Exception getException() {
                return exception;
            }
    
            @Override
            public void exception(Exception e) {
                this.exception = e;
            }
    
            // Methods from Message interface
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            .flatMap(r -> r.getProblems().stream())
                            .filter(p -> p.getException() instanceof CycleDetectedException)
                            .findAny()
                            .orElse(null);
                    if (cycle != null) {
                        final CycleDetectedException cde = (CycleDetectedException) cycle.getException();
                        throw new ProjectBuildingException(
                                null,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        if (logger.isDebugEnabled()) {
                            for (SettingsProblem problem : result.getProblems()) {
                                logger.debug(problem.getMessage(), problem.getException());
                            }
                        }
    
                        Authentication authentication = new Authentication(server.getUsername(), server.getPassword());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top