Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 1,797 for throwIf (0.26 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return OptionalThing.ofNullable(subject, () -> {
                    throw new IllegalStateException("Subject not found");
                });
            }
    
            @Override
            public OptionalThing<String> getSavedPlainText() {
                return OptionalThing.ofNullable(plainText, () -> {
                    throw new IllegalStateException("Plain text not found");
                });
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 20K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/RegularContiguousSet.java

        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

            this.sameSite = sameSite
          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
            value ?: throw NullPointerException("builder.value == null"),
            expiresAt,
            domain ?: throw NullPointerException("builder.domain == null"),
            path,
            secure,
            httpOnly,
            persistent,
            hostOnly,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

                fail("Should throw ResourceNotFoundRuntimeException for non-existent file");
            } catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) {
                // Expected behavior - method throws exception for non-existent files
                assertTrue(e.getMessage().contains("nonexistent.conf"));
            }
    
            // Test with multiple names - should also throw exception for non-existent files
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker = new FakeTicker();
      }
    
      @Test
      public void loader() throws ExecutionException {
        Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build();
    
        Callable<Integer> loader =
            new Callable<Integer>() {
              private int i = 0;
    
              @Override
              public Integer call() throws Exception {
                return ++i;
              }
            };
    
        cache.put(0, 10);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java

    import org.opensearch.index.query.QueryBuilder;
    
    public class FuzzyQueryCommandTest extends QueryTestBase {
    
        private FuzzyQueryCommand fuzzyQueryCommand;
    
        @Override
        protected void setUpChild() throws Exception {
            // Initialize and register FuzzyQueryCommand
            fuzzyQueryCommand = new FuzzyQueryCommand();
            fuzzyQueryCommand.register();
        }
    
        // Test getQueryClassName method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                lastCommandList = new ArrayList<>(cmdList);
    
                if (exception instanceof RuntimeException) {
                    throw (RuntimeException) exception;
                } else if (exception instanceof InterruptedException) {
                    Thread.currentThread().interrupt();
                    throw new RuntimeException(exception);
                }
    
                return new MockJobProcess(exitValue, output);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         *
         * @param result the list of search results
         * @param consumer the BiConsumer to process entry DN and role name
         * @throws NamingException if LDAP naming exception occurs
         */
        protected void processSearchRoles(final List<SearchResult> result, final BiConsumer<String, String> consumer) throws NamingException {
            processSearchRoles(result, entryDn -> {
                final String name = getSearchRoleName(entryDn);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractBiMap.java

      }
    
      @Override
      protected Map<K, V> delegate() {
        return delegate;
      }
    
      /** Returns its input, or throws an exception if this is not a valid key. */
      @CanIgnoreReturnValue
      @ParametricNullness
      K checkKey(@ParametricNullness K key) {
        return key;
      }
    
      /** Returns its input, or throws an exception if this is not a valid value. */
      @CanIgnoreReturnValue
      @ParametricNullness
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          super(x, queue);
        }
    
        @Override
        public void finalizeReferent() {}
      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        ClassLoader myLoader = getClass().getClassLoader();
        URLClassLoader sepLoader = new URLClassLoader(getClassPathUrls(), myLoader.getParent());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top