Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 124 for throws (0.12 sec)

  1. guava/src/com/google/common/collect/Sets.java

        /**
         * Guaranteed to throw an exception and leave the collection unmodified.
         *
         * @throws UnsupportedOperationException always
         * @deprecated Unsupported operation.
         */
        @CanIgnoreReturnValue
        @Deprecated
        @Override
        @DoNotCall("Always throws UnsupportedOperationException")
        public final boolean add(@ParametricNullness E e) {
          throw new UnsupportedOperationException();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      }
    
      public void testMethod_notDeclaredByType() throws NoSuchMethodException {
        Method sizeMethod = Map.class.getMethod("size");
        assertThrows(IllegalArgumentException.class, () -> TypeToken.of(List.class).method(sizeMethod));
      }
    
      public void testMethod_declaredBySuperclass() throws Exception {
        Method toStringMethod = Object.class.getMethod("toString");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. 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)
  5. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliManager.displayHelp(System.out);
                throw e;
            }
        }
    
        private void informativeCommands(CliRequest cliRequest) throws ExitException {
            if (cliRequest.commandLine.hasOption(CLIManager.HELP)) {
                cliManager.displayHelp(System.out);
                throw new ExitException(0);
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top