Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for IllegalStateException (0.44 sec)

  1. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            project.setReleaseArtifactRepository(repo);
                        }
                    } catch (InvalidRepositoryException e) {
                        throw new IllegalStateException(
                                "Failed to create release distribution repository for " + project.getId(), e);
                    }
                }
    
                // snapshot artifact repository
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            if (request.isProcessPlugins()) {
                if (lifecycleBindingsInjector == null) {
                    throw new IllegalStateException("lifecycle bindings injector is missing");
                }
    
                // lifecycle bindings injection
                resultModel = lifecycleBindingsInjector.injectLifecycleBindings(resultModel, request, problems);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          iterator.next();
          fail("Expected NoSuchElementException");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("Expected IllegalStateException");
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testSize0() {
        Iterator<String> iterator = Iterators.emptyIterator();
        assertEquals(0, Iterators.size(iterator));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     */
    public class RepositorySystemSupplier implements Supplier<RepositorySystem> {
        private final AtomicBoolean closed = new AtomicBoolean(false);
    
        public RepositorySystemSupplier() {}
    
        private void checkClosed() {
            if (closed.get()) {
                throw new IllegalStateException("Supplier is closed");
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 43.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            new Builder<String, Integer>().orderEntriesByValue(Ordering.natural());
        try {
          builder.orderEntriesByValue(Ordering.natural());
          fail("Expected IllegalStateException");
        } catch (IllegalStateException expected) {
        }
      }
    
      @GwtIncompatible // we haven't implemented this
      public void testBuilder_orderEntriesByValue_keepingLast() {
        ImmutableMap.Builder<String, Integer> builder =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

        }
    
        @Override
        public void remove() {
          checkRemove(false);
        }
      }
    
      /**
       * Returns the empty {@code Iterator} that throws {@link IllegalStateException} instead of {@link
       * UnsupportedOperationException} on a call to {@link Iterator#remove()}.
       */
      // Casting to any type is safe since there are no actual elements.
      @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        Path getTopDirectory();
    
        /**
         * Gets the root directory of the session, which is the root directory for the top directory project.
         *
         * @throws IllegalStateException if the root directory could not be found
         * @see #getTopDirectory()
         * @see Project#getRootDirectory()
         */
        @Nonnull
        Path getRootDirectory();
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
       * from the {@code Collector} returned by {@link Collectors#toMap(Function, Function)}, which
       * throws an {@code IllegalStateException}.)
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top