Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 2,240 for throwIf (0.54 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            assertProvideThrowsException("TestšŸ˜€Classification");
        }
    
        // Helper method to assert that provide() throws ProvidedClassificationNotFoundException
        private void assertProvideThrowsException(String classificationName) {
            try {
                provider.provide(classificationName);
                fail("Should throw ProvidedClassificationNotFoundException for: " + classificationName);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

         */
        @Test
        public void test_multipleCloseCallsSafe() throws Exception {
            RankFusionProcessor processor = new RankFusionProcessor();
            processor.setSearcher(new TestSearcher(100));
            processor.init();
    
            // First close
            processor.close();
            // Second close - should not throw exception
            processor.close();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Multimaps.java

          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean putAll(Multimap<? extends K, ? extends V> multimap) {
          throw new UnsupportedOperationException();
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multiset.java

       *     no change will be made.
       * @return the count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation would
       *     result in more than {@link Integer#MAX_VALUE} occurrences of the element
       * @throws NullPointerException if {@code element} is null and this implementation does not permit
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/SynchronousGet.java

      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          Headers responseHeaders = response.headers();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.5K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

        @Override
        public MediaType contentType() {
          return delegate.contentType();
        }
    
        @Override
        public long contentLength() throws IOException {
          return delegate.contentLength();
        }
    
        @Override
        public void writeTo(BufferedSink sink) throws IOException {
          BufferedSink bufferedSink = Okio.buffer(sink(sink));
          delegate.writeTo(bufferedSink);
          bufferedSink.flush();
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  8. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        if (clazz.isAnnotation()) {
          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
        assertGoodFeatureEnum(ListFeature.class);
        assertGoodFeatureEnum(SetFeature.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

         * Creates a Lucene Query from this query builder.
         *
         * @param context the query shard context
         * @return the Lucene Query
         * @throws IOException if an I/O error occurs
         */
        @Override
        public Query toQuery(final QueryShardContext context) throws IOException {
            return queryBuilder.toQuery(context);
        }
    
        /**
         * Returns whether this query builder is a fragment.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * @return the result of script evaluation, or null if the template is empty or evaluation fails
         * @throws JobProcessingException if the script explicitly throws this exception
         *         (allows scripts to signal job-specific errors that should propagate)
         */
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top