- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,808 for try (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
} /** * Initializes the CrawlerClientFactory. * Attempts to register itself with a "crawlerClientCreator" component if available. */ @PostConstruct public void init() { try { final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator"); if (creator != null) { creator.register(this); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Expected error"; try { throw new FessSystemException(expectedMessage); } catch (FessSystemException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
peerCertificatesFn: () -> List<Certificate>, ) { /** Returns a possibly-empty list of certificates that identify the remote peer. */ @get:JvmName("peerCertificates") val peerCertificates: List<Certificate> by lazy { try { peerCertificatesFn() } catch (spue: SSLPeerUnverifiedException) { listOf() } } @JvmName("-deprecated_tlsVersion") @Deprecated( message = "moved to val",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Apr 05 09:48:10 UTC 2025 - 6.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
@Override public void onFailure(Call call, IOException e) { } @Override public void onResponse(Call call, Response response) throws IOException { try (ResponseBody body = response.body()) { // Consume and discard the response body. body.source().readByteString(); } } }); Request newYorkTimesRequest = new Request.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
} return false; } public SynonymMap getSynonymMap() { return synonymMap; } protected void createSynonymMap(final boolean reload) { try (Reader rulesReader = getReader(reload)) { if (rulesReader instanceof StringReader && ((StringReader) rulesReader).toString().length() == 0) { synonymMap = null; return; }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun May 18 02:59:16 UTC 2025 - 6.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
verifyToken(() -> asIndexPage(form)); final String username = form.username; final String password = form.password; form.clearSecurityInfo(); try { final HtmlResponse loginRedirect = fessLoginAssist.loginRedirect(new LocalUserCredential(username, password), op -> {}, () -> { activityHelper.login(getUserBean());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java
verifyCrudMode(form.crudMode, CrudMode.CREATE); validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getRelatedContent(form).ifPresent(entity -> { try { relatedContentService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
return new Properties(); } }; try { emptyEnv.get("non.existent.property"); fail("Should throw ConfigPropertyNotFoundException"); } catch (ConfigPropertyNotFoundException e) { assertTrue(e.getMessage().contains("non.existent.property")); } try { emptyEnv.is("non.existent.boolean");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
@JvmStatic fun isAlpnBootEnabled(): Boolean = try { Class.forName("org.eclipse.jetty.alpn.ALPN", true, null) true } catch (cnfe: ClassNotFoundException) { false } val isCorrettoSupported: Boolean = try { // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 15.4K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
System.setProperty("java.version", ""); try { JvmUtil.getJavaVersion(); fail("Should throw NumberFormatException"); } catch (NumberFormatException e) { // Expected } // Test with invalid format System.setProperty("java.version", "invalid"); try { JvmUtil.getJavaVersion();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0)