Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 2,073 for catch (0.03 sec)

  1. src/main/java/jcifs/smb1/UniAddress.java

            }
    
            @Override
            public void run() {
                try {
                    ans = NbtAddress.getByName(host, type, scope, svr);
                } catch (final UnknownHostException uhe) {
                    this.uhe = uhe;
                } catch (final Exception ex) {
                    this.uhe = new UnknownHostException(ex.getMessage());
                } finally {
                    synchronized (sem) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                }
                analyzerMap.put(analyzerSettingsIndexName, getAnalyzerNames());
                fieldAnalyzerMappingMap.put(analyzerSettingsIndexName, getFieldAnalyzerMapping());
            } catch (final IOException e) {
                throw new SuggestSettingsException("Failed to create mappings.");
            }
        }
    
        /**
         * Returns the name of the analyzer settings index.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                if (failureUrl != null) {
                    failureUrlId = failureUrl.getId();
                }
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("container was destroyed.");
                }
                return;
            } catch (final Exception e) {
                if (!ComponentUtil.available()) {
                    if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
            logger.log(Level.WARNING, "$threadName failed unexpectedly", e)
          } finally {
            for (socket in openSockets) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

                }
            };
    
            Set<String> roleSet;
    
            try {
                roleSet = buildByHeader(roleQueryHelperImpl, getMockRequest());
                fail();
            } catch (final NullPointerException e) {
                //ok
            }
    
            roleQueryHelperImpl.headerKey = "fess1";
    
            getMockRequest().addHeader("aaa", "bbb");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            } catch (Exception e) {
                                synchronized (exceptions) {
                                    exceptions.add(e);
                                }
                            }
                        }
                        long threadEnd = System.nanoTime();
                        totalTime.addAndGet(threadEnd - threadStart);
    
                    } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

                assertNotNull("payload() method should exist", payloadMethod);
                assertEquals("payload() return type should be Class[]", Class[].class, payloadMethod.getReturnType());
            } catch (final NoSuchMethodException e) {
                fail("Required annotation method not found: " + e.getMessage());
            }
        }
    
        // Test creating custom implementation of annotation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  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