Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 277 for IllegalStateException (0.17 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return multiModuleProjectDirectory;
        }
    
        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
        public MavenExecutionRequest setRootDirectory(Path rootDirectory) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       * immediately calling {@code remove()} on that iterator, as the {@code Iterator} contract states
       * that a call to {@code remove()} before a call to {@code next()} will throw an {@link
       * IllegalStateException}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#skip}
       *
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterable<T> skip(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
          lastRet = -1;
          // Traverse underlying queue to find == element,
          // not just a .equals element.
          monitor.enter();
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashBiMap.java

        }
    
        @Override
        public void remove() {
          if (modCount != expectedModCount) {
            throw new ConcurrentModificationException();
          }
          if (toRemove == null) {
            throw new IllegalStateException("no calls to next() since the last call to remove()");
          }
          delete(toRemove);
          expectedModCount = modCount;
          toRemove = null;
        }
    
        abstract T output(BiEntry<K, V> entry);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                    return true;
                }
                if (elementName.equals("dd")) {
                    if (currentItem == null) {
                        throw new IllegalStateException("No <dt> element preceding <dd> element.");
                    }
                    nodes.push(document.createElement("listitem"));
                    return true;
                }
    
                return false;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
                query = query.xgetReferrerQuery();
            }
            return sb.toString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                        String msg = "The foreignPropertyName of the query should not be null:";
                        msg = msg + " query=" + query;
                        throw new IllegalStateException(msg);
                    }
                    sb.insert(0, CQ_PROPERTY + Srl.initCap(foreignPropertyName) + ".");
                }
                query = query.xgetReferrerQuery();
            }
            return sb.toString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractBiMap.java

            entry = iterator.next();
            return new BiMapEntry(entry);
          }
    
          @Override
          public void remove() {
            if (entry == null) {
              throw new IllegalStateException("no calls to next() since the last call to remove()");
            }
            V value = entry.getValue();
            iterator.remove();
            removeFromInverseMap(value);
            entry = null;
          }
        };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          assertThrows(IllegalStateException.class, () -> iterator.remove());
        } else {
          iterator.next();
          assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
        }
        assertInvariants(map);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        val call = client.newCall(request)
        val response = call.execute()
        response.body.close()
        assertFailsWith<IllegalStateException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Already Executed")
        }
        assertFailsWith<IllegalStateException> {
          call.enqueue(callback)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Already Executed")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top