Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for getException (0.19 sec)

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

         * Gets the exceptions that occurred while resolving the version range.
         *
         * @return The list of exceptions that occurred during resolution, never {@code null}
         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the versions (in ascending order) that matched the requested range.
         *
         * @return The list of matching versions, never {@code null}. An empty list indicates
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // As soon as the first one fails, make that failure the result of the output future.
          // The results of all other inputs are then ignored (except for logging any failures).
          boolean completedWithFailure = setException(throwable);
          if (!completedWithFailure) {
            // Go up the causal chain to see if we've already seen this cause; if we have, even if
            // it's wrapped by a different exception, don't log it.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ImmediateFuture.java

      }
    
      static final class ImmediateFailedFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        ImmediateFailedFuture(Throwable thrown) {
          setException(thrown);
        }
      }
    
      static final class ImmediateCancelledFuture<V extends @Nullable Object> extends TrustedFuture<V> {
        static final @Nullable ImmediateCancelledFuture<Object> INSTANCE =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        SettableFuture<String> f = SettableFuture.create();
        Exception e = new IllegalArgumentException("foo not found");
        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
        f.setException(e);
      }
    
      public void testCancel() {
        SettableFuture<String> f = SettableFuture.create();
        FutureCallback<String> callback =
            new FutureCallback<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/AbstractFutureFootprintBenchmark.java

          case NOT_DONE:
            break;
          case FINISHED:
            f.set(null);
            break;
          case CANCELLED:
            f.cancel(false);
            break;
          case FAILED:
            f.setException(new Exception());
            break;
        }
        return f;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        /**
         * Gets the exceptions that occurred while building the dependency graph.
         *
         * @return the exceptions that occurred, never {@code null}
         */
        @Nonnull
        List<Exception> getExceptions();
    
        /**
         * Gets the root node of the dependency graph.
         *
         * @return the root node of the dependency graph or {@code null} if none
         */
        @Nullable
        Node getRoot();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        SettableFuture<String> f = SettableFuture.create();
        Exception e = new IllegalArgumentException("foo not found");
        MockCallback callback = new MockCallback(e);
        addCallback(f, callback, directExecutor());
        f.setException(e);
      }
    
      public void testCancel() {
        SettableFuture<String> f = SettableFuture.create();
        FutureCallback<String> callback =
            new FutureCallback<String>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

                    System.err.println("Missing: " + artifact);
                }
            }
    
            if (result.hasExceptions()) {
                for (Exception e : result.getExceptions()) {
                    e.printStackTrace();
                }
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java

        // ------------------------------------------------------------------------
    
        public boolean hasExceptions() {
            return exceptions != null && !exceptions.isEmpty();
        }
    
        public List<Exception> getExceptions() {
            return exceptions == null ? Collections.emptyList() : Collections.unmodifiableList(exceptions);
        }
    
        // ------------------------------------------------------------------------
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top