Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for throw (0.14 sec)

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

      }
    
      public void testCatchingAsync_fallbackGeneratesError() throws Exception {
        final Error error = new Error("deliberate");
        AsyncFunction<Throwable, Integer> fallback =
            new AsyncFunction<Throwable, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                throw error;
              }
            };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      }
    
      public void testCatchingAsync_fallbackGeneratesError() throws Exception {
        final Error error = new Error("deliberate");
        AsyncFunction<Throwable, Integer> fallback =
            new AsyncFunction<Throwable, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(Throwable t) throws Exception {
                throw error;
              }
            };
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/LocalCache.java

          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        } finally {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
          public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            try {
              map.get(one, loader);
            } catch (ExecutionException e) {
              throw new RuntimeException(e);
            }
            doneSignal.countDown();
          }
        }.start();
    
        try {
          computingSignal.await();
        } catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
    
        new Thread() {
          @Override
          public void run() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

          success = true;
          throw e;
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
          throw new ExecutionException(e);
        } catch (RuntimeException e) {
          throw new UncheckedExecutionException(e);
        } catch (Exception e) {
          throw new ExecutionException(e);
        } catch (Error e) {
          throw new ExecutionError(e);
        } finally {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * {@link Future#get()} would.
         *
         * <p>Because the asynchronous operation has already completed, this method is synchronous and
         * returns immediately.
         *
         * @throws CancellationException if the computation was cancelled
         * @throws ExecutionException if the computation threw an exception
         */
        @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

            return set;
          }
    
          @Override
          public boolean add(@ParametricNullness E element) {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public boolean addAll(Collection<? extends E> es) {
            throw new UnsupportedOperationException();
          }
        };
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top