Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for throws (0.15 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

        }
    
        @Override
        public ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException {
            return build(request, new LinkedHashSet<>());
        }
    
        protected ModelBuildingResult build(ModelBuildingRequest request, Collection<String> importIds)
                throws ModelBuildingException {
            // phase 1
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                throw new UnsupportedOperationException()
            }
    
            @Override
            Object find(Type serviceType) throws ServiceLookupException {
                throw new UnsupportedOperationException()
            }
    
            @Override
            def <T> Factory<T> getFactory(Class<T> type) throws UnknownServiceException, ServiceLookupException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         *
         * <p>If a task with the given name already exists in this project, an exception is thrown.</p>
         *
         * @param name The name of the task to be created
         * @return The newly created task object
         * @throws InvalidUserDataException If a task with the given name already exists in this project.
         */
        Task task(String name) throws InvalidUserDataException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          sb.append(iterator.next());
        }
        return sb.append(']').toString();
      }
    
      /**
       * Returns the single element contained in {@code iterator}.
       *
       * @throws NoSuchElementException if the iterator is empty
       * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the
       *     iterator is unspecified.
       */
      @ParametricNullness
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterators.java

          sb.append(iterator.next());
        }
        return sb.append(']').toString();
      }
    
      /**
       * Returns the single element contained in {@code iterator}.
       *
       * @throws NoSuchElementException if the iterator is empty
       * @throws IllegalArgumentException if the iterator contains multiple elements. The state of the
       *     iterator is unspecified.
       */
      @ParametricNullness
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if the
       * current thread is interrupted during the call, even if the value is already available.
       *
       * @throws CancellationException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       *
       * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if the
       * current thread is interrupted during the call, even if the value is already available.
       *
       * @throws CancellationException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public V get(long timeout, TimeUnit unit)
          throws InterruptedException, TimeoutException, ExecutionException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        }
      }
    
      public void testToStringImplWithNullKeys() throws Exception {
        Map<@Nullable String, String> hashmap = Maps.newHashMap();
        hashmap.put("foo", "bar");
        hashmap.put(null, "baz");
    
        assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap));
      }
    
      public void testToStringImplWithNullValues() throws Exception {
        Map<String, @Nullable String> hashmap = Maps.newHashMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

        }
    
        def "throws NullPointerException when adding an entry with a null key to the property"() {
            when:
            property.put(null, (String) 'v')
            then:
            def ex = thrown NullPointerException
            ex.message == "Cannot add an entry with a null key to a property of type ${type().simpleName}."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
Back to top