Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,812 for rethrow (0.04 sec)

  1. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java

                throw new InvalidQueryRegisteredException(msg);
            }
        }
    
        protected void checkEsInvalidQueryCollection(String name, Collection<?> values) {
            if (values == null || values.isEmpty()) {
                String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values;
                throw new InvalidQueryRegisteredException(msg);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 21.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String expectedMessage = "Thrown exception";
    
            try {
                throw new UnsupportedSearchException(expectedMessage);
                // fail("Exception was not thrown");
            } catch (UnsupportedSearchException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

          return certificates.single() as X509Certificate
        } catch (e: NoSuchElementException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: IllegalArgumentException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        } catch (e: GeneralSecurityException) {
          throw IllegalArgumentException("failed to decode certificate", e)
        }
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractor.java

         * @param params The parameters.
         * @return The extracted data.
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

            if (extractorFactory == null) {
                throw new FessSystemException("Could not find extractorFactory.");
            }
            Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType());
            if (extractor == null) {
                extractor = ComponentUtil.getComponent("tikaExtractor");
                if (extractor == null) {
                    throw new FessSystemException("Could not find tikaExtractor.");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/LineIterator.java

        }
    
        @Override
        public String next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final String result = line;
            line = EMPTY;
            return result;
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
            // A null byte array should cause a PACDecodingException.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          if (actual == FAILED) {
            // Handle this specially so that we can include the failureCause, if there is one.
            throw new IllegalStateException(
                "Expected the service " + this + " to be " + expected + ", but the service has FAILED",
                failureCause());
          }
          throw new IllegalStateException(
              "Expected the service " + this + " to be " + expected + ", but was " + actual);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java

     * to create an exception instance with a message, a cause, or both.
     *
     * <p>Usage examples:</p>
     * <pre>
     * throw new SuggesterException("An error occurred");
     * throw new SuggesterException(new IOException("IO error"));
     * throw new SuggesterException("An error occurred", new IOException("IO error"));
     * </pre>
     *
     * @see RuntimeException
     */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

            new AbstractLoadingCache<Object, Object>() {
              @Override
              public Object get(Object key) throws ExecutionException {
                Object v = valueRef.get();
                if (v == null) {
                  throw new ExecutionException(cause);
                }
                return v;
              }
    
              @Override
              public @Nullable Object getIfPresent(Object key) {
                return valueRef.get();
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top