Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 2,062 for latch (0.04 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.updateThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
        // Test basic delete operation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

                                }
                            });
                } catch (final RuntimeException e) {
                    try {
                        requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout);
                    } catch (final Exception e1) {
                        // ignore
                    }
                    throw e;
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                    try {
                        stripper.writeText(doc, writer);
                        extractEmbeddedDocuments(doc, writer);
                        extractAnnotations(doc, writer);
                    } catch (final Exception e) {
                        exceptionSet.add(e);
                    } finally {
                        done.set(true);
                    }
                }, Thread.currentThread().getName() + "-pdf");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            try {
                list.getEntry(-1);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
            try {
                list.getEntry(3);
                fail();
            } catch (final ClIndexOutOfBoundsException ex) {
                System.out.println(ex);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/PythonJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Python Process terminated.", e);
            } finally {
                processHelper.destroyProcess(sessionId);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            }
    
            @Test
            @DisplayName("Should work in catch blocks for IOException")
            void testCatchAsIOException() {
                assertDoesNotThrow(() -> {
                    try {
                        throw new TransportException("Test exception");
                    } catch (IOException e) {
                        // Should catch TransportException as IOException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

        static {
          try {
            UNSAFE = getUnsafe();
            Class<?> ak = Cell.class;
            VALUE_OFFSET = UNSAFE.objectFieldOffset(ak.getDeclaredField("value"));
          } catch (Exception e) {
            throw new Error(e);
          }
        }
      }
    
      /**
       * ThreadLocal holding a single-slot int array holding hash code. Unlike the JDK8 version of this
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         * Adds a URL to the crawling queue.
         * @param url The URL to add.
         */
        public void addUrl(final String url) {
            try {
                urlQueueService.add(crawlerContext.sessionId, url);
            } catch (final Exception e) {
                logger.warn("Failed to add url: " + url, e);
            }
            urlFilter.processUrl(url);
        }
    
        /**
         * Returns the current session ID.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceFactoryTest.java

            } catch (Exception e) {
              future.completeExceptionally(e);
            }
          }
    
          @Override
          public void onEvent(@NotNull EventSource eventSource, @Nullable String id, @Nullable String type, @NotNull String data) {
            try {
              assertEquals("hello", data);
              future.complete(null);
            } catch (Exception e) {
              future.completeExceptionally(e);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top