- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,808 for try (0.01 sec)
-
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
ComponentUtil.setFessConfig(new TestFessConfig() { @Override public Integer getJobMaxCrawlerProcessesAsInteger() { return 5; } }); try { crawlJob.execute(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("10 crawler processes are running"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
private FessConfig.SimpleImpl fessConfig; @Override public void setUp() throws Exception { super.setUp(); // Clear cached components in ComponentUtil using reflection try { java.lang.reflect.Field systemHelperField = ComponentUtil.class.getDeclaredField("systemHelper"); systemHelperField.setAccessible(true); systemHelperField.set(null, null);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
p.setProperty(name, getInitParameter(name)); } } try { if (p.getProperty("jcifs.smb.client.username") == null) { new NtlmSsp(); } else { this.credentialsSupplied = true; } try { try (InputStream is = getClass().getClassLoader().getResourceAsStream("jcifs/http/ne.css");) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt
internal class InsecureAndroidTrustManager( private val delegate: X509TrustManager, private val insecureHosts: List<String>, ) : X509TrustManager { private val checkServerTrustedMethod: Method? = try { delegate::class.java.getMethod( "checkServerTrusted", Array<X509Certificate>::class.java, String::class.java, String::class.java, ) } catch (_: NoSuchMethodException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.4K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java
return new TunnelingUnixSocket(path, channel); } @Override public Socket createSocket(String host, int port) throws IOException { Socket result = createSocket(); try { result.connect(new InetSocketAddress(host, port)); } catch (IOException e) { result.close(); throw e; } return result; } @Override public Socket createSocket(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Dec 03 21:33:52 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Internal.java
@IgnoreJRERequirement static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
* @see JarInputStream#JarInputStream(InputStream) */ public static JarInputStream create(final InputStream is) throws IORuntimeException { assertArgumentNotNull("is", is); try { return new JarInputStream(is); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ThreadUtil.java
* if any thread has interrupted the current thread. */ public static void sleep(final long millis) { if (millis < 1L) { return; } try { Thread.sleep(millis); } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java
} public void test_getUserInfo_emptyUserCode() { try { var result = searchLogHelper.getUserInfo(""); assertFalse(result.isPresent()); } catch (Exception e) { // Expected in test environment assertTrue(true); } } public void test_getUserInfo_nullUserCode() { try { var result = searchLogHelper.getUserInfo(null);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
* * @see jcifs.CIFSContext#get(java.lang.String) */ @Override public SmbResource get(final String url) throws CIFSException { try { return new SmbFile(url, this); } catch (final MalformedURLException e) { throw new CIFSException("Invalid URL " + url, e); } } /** * * {@inheritDoc}Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0)