Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 2,174 for Exception (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

                });
                return null;
            });
            try {
                userService.store(entity);
                saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.container.CrawlerContainer;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.Resource;
    
    /**
     * A factory class for managing and creating crawler clients based on URL patterns.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java

    import org.codelibs.fess.exception.InvalidQueryException;
    
    import org.codelibs.fess.util.ComponentUtil;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.RangeQueryBuilder;
    
    public class TermRangeQueryCommandTest extends QueryTestBase {
        private TermRangeQueryCommand queryCommand;
    
        @Override
        protected void setUpChild() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

    import java.io.InputStream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.SitemapsHelper;
    
    /**
     * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        public void test_destroy_withException() {
            systemHelper.addShutdownHook(() -> {
                throw new RuntimeException("test exception");
            });
            try {
                systemHelper.destroy();
                assertTrue(true);
            } catch (Exception e) {
                fail("Exception should be caught and not propagated");
            }
        }
    
        public void test_getHelpUrl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

                return f.get(target);
            } catch (Exception e) {
                fail("Failed to get field '" + name + "'", e);
                return null;
            }
        }
    
        /**
         * Test that the wire-format of the parameters is produced
         * correctly when all fields are set to typical values.
         */
        @Test
        void happyPathParameterEncoding() throws Exception {
            Configuration cfg = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/StringsTest.java

                // When & Then
                RuntimeCIFSException exception = assertThrows(RuntimeCIFSException.class, () -> {
                    Strings.getOEMBytes(TEST_STRING, mockConfig);
                });
    
                assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertSame(transport, session.getTransport());
            verify(session).getTransport();
        }
    
        // Happy path: connect to logon share completes without exception
        @Test
        @DisplayName("treeConnectLogon performs call without exception")
        void treeConnectLogon_happy() throws SmbException {
            // doNothing by default
            session.treeConnectLogon();
            verify(session, times(1)).treeConnectLogon();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

         */
        public void test_concurrentOperations() throws Exception {
            final int threadCount = 10;
            final int operationsPerThread = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final List<Exception> exceptions = new ArrayList<>();
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top