Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,263 for Throw (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
        throw up();
      }
    
      private static UnsupportedOperationException up() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SendPartialResponseThenBlock.java

                        throw failure;
                    }
                    try {
                        condition.await(waitMs, TimeUnit.MILLISECONDS);
                    } catch (InterruptedException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
                if (failure != null) {
                    throw failure;
                }
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        public T next() {
          try {
            return iterator.next();
          } catch (NoSuchElementException e) {
            nextThrewException = true;
            throw e;
          }
        }
    
        @Override
        public void remove() {
          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchSunJavaBug6529795InTargetIterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestManagedExecutor.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

      }
    
      @Override
      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
      public ImmutableSet<E> elementSet() {
        throw new AssertionError();
      }
    
      @Override
      Entry<E> getEntry(int index) {
        throw new AssertionError();
      }
    
      @Override
      boolean isPartialView() {
        throw new AssertionError();
      }
    
      @Override
      public int size() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

            } catch (NoSuchMethodException e) {
                throw new NoSuchMethodError(e.getMessage());
            } catch (IllegalAccessException e) {
                throw new IllegalAccessError(e.getMessage());
            } catch (ClassNotFoundException e) {
                throw new RuntimeException(e);
            }
        }
    
        public MetaClassAdapter determineDelegate(Object bean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Closer.java

       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        public T next() {
          try {
            return iterator.next();
          } catch (NoSuchElementException e) {
            nextThrewException = true;
            throw e;
          }
        }
    
        @Override
        public void remove() {
          if (nextThrewException) {
            throw new IllegalStateException();
          }
          iterator.remove();
        }
      }
    
      public void testCanCatchSunJavaBug6529795InTargetIterator() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closer.java

       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
       * @return this method does not return; it always throws
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

        public RootBuildState getRootBuild() {
            if (rootBuild == null) {
                throw new IllegalStateException("Root build is not defined.");
            }
            return rootBuild;
        }
    
        @Override
        public RootBuildState createRootBuild(BuildDefinition buildDefinition) {
            if (rootBuild != null) {
                throw new IllegalStateException("Root build already defined.");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top