Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for getException (0.04 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

            request.setGoals(Arrays.asList("validate"));
            MavenExecutionResult result = maven.execute(request);
    
            assertFalse(result.hasExceptions(), result.getExceptions().toString());
    
            MavenProject project = result.getProject();
    
            assertEquals("bar", project.getProperties().getProperty("foo"));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java

            return this;
        }
    
        @Override
        public List<Throwable> getExceptions() {
            return exceptions;
        }
    
        @Override
        public MavenExecutionResult addException(Throwable t) {
            exceptions.add(t);
    
            return this;
        }
    
        @Override
        public boolean hasExceptions() {
            return !getExceptions().isEmpty();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

      }
    
      public void testFutureGetThrowsWrappedException() throws Exception {
        inputFuture.setException(EXCEPTION);
        listener.assertException(EXCEPTION);
      }
    
      public void testFutureGetThrowsWrappedError() throws Exception {
        Error error = new Error();
        inputFuture.setException(error);
        // Verify that get throws an ExecutionException, caused by an Error, when
        // the callback is called.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverResult.java

             *
             * @return A {@link Map} where keys are {@link Repository} instances and values are {@link Exception} instances.
             */
            Map<Repository, List<Exception>> getExceptions();
    
            /**
             * Returns the repository from which the artifact was resolved.
             *
             * @return The {@link Repository} instance.
             */
            Repository getRepository();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * thread immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptionsField to its exception
         *
         * Thread2: calls setException(), which returns false, CASes seenExceptionsField to its
         * exception, and wrongly believes that its exception is new (leading it to logging it when it
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                                        .setMessage(e.getMessage())
                                        .setException(e));
                            }
                            cache.put(value, c);
                        }
                        return c;
                    }
                    return value;
                }
            };
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverResult.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionResolverResult extends Result<VersionResolverRequest> {
    
        @Nonnull
        List<Exception> getExceptions();
    
        @Nonnull
        Version getVersion();
    
        @Nonnull
        Optional<Repository> getRepository();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectDependenciesResolver.java

                result.setDependencyGraph(node);
            } catch (DependencyCollectionException e) {
                result.setDependencyGraph(e.getResult().getRoot());
                result.setCollectionErrors(e.getResult().getExceptions());
    
                throw new DependencyResolutionException(
                        result, "Could not collect dependencies for project " + project.getId(), e);
            }
    
            depRequest.setRoot(node);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.setException(new IllegalArgumentException("failure"));
                  if (!future.isDone()) {
                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
          executor.execute(
              new Runnable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              });
          executor.execute(
              new Runnable() {
                @Override
                public void run() {
                  future.setException(new IllegalArgumentException("failure"));
                  if (!future.isDone()) {
                    errorMessage.set("SetException call exited before future was complete.");
                  }
                }
              });
          executor.execute(
              new Runnable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top