Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,947 for threw (0.02 sec)

  1. 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)
  2. 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)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            } finally {
                if (tempDocRoot) {
                    docRoot.delete();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractor.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")
                final org.apache.poi.hssf.extractor.ExcelExtractor excelExtractor =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            br.addItem("Boundary Size");
            br.addElement(boundarySize);
            br.addItem("Limit Size");
            br.addElement(limitSize);
            final String msg = br.buildExceptionMessage();
            throw new Forced404NotFoundException(msg, UserMessages.empty()); // heavy attack!? so give no page to tell wasted action
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            if (isExceptPrivateAccessible(method)) {
                return;
            }
            try {
                method.setAccessible(true);
            } catch (RuntimeException e) {
                throw new BeanMethodSetAccessibleFailureException(beanDesc.getBeanClass(), method, e);
            }
        }
    
        private boolean isExceptPrivateAccessible(Method method) {
            // to avoid warning of JDK-internal access at Java11
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

                return createDependencyArtifact(artifactFactory, dependency, inheritedScope, inheritedFilter);
            } catch (InvalidVersionSpecificationException e) {
                throw new ArtifactMetadataRetrievalException(
                        "Invalid version for dependency " + dependency.getManagementKey() + ": " + e.getMessage(), e, pom);
            }
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, @Nullable Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/TransportExceptionTest.java

            assertThrows(TransportException.class, () -> {
                throw new TransportException(expectedMessage);
            });
    
            // Test throwing and catching with cause
            RuntimeException cause = new RuntimeException("Cause");
            TransportException thrown = assertThrows(TransportException.class, () -> {
                throw new TransportException(cause);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        future.set(
            new Object() {
              @Override
              public String toString() {
                throw new OutOfMemoryError();
              }
    
              @Override
              public int hashCode() {
                throw new OutOfMemoryError();
              }
            });
    
        String unused = future.toString();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top