Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 459 for throwable (0.08 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        final Object result;
        final Throwable throwable;
    
        Response(String methodName, @Nullable Object result, @Nullable Throwable throwable) {
          this.methodName = methodName;
          this.result = result;
          this.throwable = throwable;
        }
    
        Object getResult() {
          if (throwable != null) {
            throw new AssertionError(throwable);
          }
          return result;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      // have completed and we have processed them all.
      @CheckForNull private volatile Set<Throwable> seenExceptions = null;
    
      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataRetrievalException.java

            this(message, null, null);
        }
    
        public MetadataRetrievalException(Throwable cause) {
            this(null, cause, null);
        }
    
        public MetadataRetrievalException(String message, Throwable cause) {
            this(message, cause, null);
        }
    
        public MetadataRetrievalException(String message, Throwable cause, ArtifactMetadata artifact) {
            super(message, cause);
    
            this.artifact = artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

    abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable {
    
      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jStdoutLogger.java

        public boolean isWarnEnabled() {
            return false;
        }
    
        public void warn(String msg) {}
    
        public void warn(String format, Object arg) {}
    
        public void warn(String format, Object... arguments) {}
    
        public void warn(String format, Object arg1, Object arg2) {}
    
        public void warn(String msg, Throwable t) {}
    
        public boolean isWarnEnabled(Marker marker) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        protected final int numberOfInputDocs;
        protected final boolean hasError;
        protected final List<Throwable> errors = new ArrayList<>();
        protected final long took;
    
        protected SuggestIndexResponse(final int numberOfSuggestDocs, final int numberOfInputDocs, final List<Throwable> errors,
                final long took) {
            this.numberOfSuggestDocs = numberOfSuggestDocs;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

      // & this future completes. Released when the future releases the reference to the running state
      private @Nullable Set<Throwable> seenExceptions = null;
      private int remaining;
    
      AggregateFutureState(int remainingFutures) {
        this.remaining = remainingFutures;
      }
    
      final Set<Throwable> getOrInitSeenExceptions() {
        if (seenExceptions == null) {
          seenExceptions = newHashSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

        }
    
        public void reject(final Throwable t) {
            final ArrayList<Consumer<Throwable>> executeCallbacks;
            synchronized (Deferred.this) {
                if (response != null || error != null) {
                    return;
                }
                error = t;
    
                executeCallbacks = new ArrayList<>(errorCallbacks.size());
                Consumer<Throwable> callback;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

        }
    
        public ModelParserException(String message, Throwable cause) {
            this(message, -1, -1, cause);
        }
    
        public ModelParserException(String message, int lineNumber, int columnNumber, Throwable cause) {
            super(message, cause);
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
        }
    
        public ModelParserException(Throwable cause) {
            this(null, cause);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Sep 22 07:25:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top