Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for IllegalStateException (0.39 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-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)
  4. 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)
  5. 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