- Sort Score
- Result 10 results
- Languages All
Results 1341 - 1350 of 1,808 for try (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java
if (logger.isDebugEnabled()) { logger.debug("loading {}", componentName); } try (CrawlerClient client = crawlerContainer.getComponent(componentName)) { crawlerClientFactory.addClient(regex, client); } catch (final Exception e) { if (logger.isDebugEnabled()) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/AzureAdCredential.java
} return false; } // Attempt to refresh token using MSAL4J silent authentication try { final AzureAdAuthenticator authenticator = ComponentUtil.getComponent(AzureAdAuthenticator.class); final IAuthenticationResult newResult = authenticator.refreshTokenSilently(this);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 28 09:13:08 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
assertFalse(result); } public void test_isUrlCrawlable_nullUrl() { DataStoreParams paramMap = new DataStoreParams(); paramMap.put("url_exclude_pattern", ".*"); try { indexUpdateCallback.isUrlCrawlable(paramMap, null); fail("Expected NullPointerException for null URL"); } catch (NullPointerException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 23:31:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTest.java
private static final long serialVersionUID = 1L; { // Force initialize the ObjectiveConfig's prop field using reflection try { java.lang.reflect.Field propField = org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("prop"); propField.setAccessible(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_occurrences_unsupported_absent() { // notice: we don't care whether it succeeds, or fails with UOE try { assertEquals( "multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
} @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testRemove_occurrences_unsupported_absent() { // notice: we don't care whether it succeeds, or fails with UOE try { assertEquals( "multiset.remove(absent, 2) didn't return 0 or throw an exception", 0, getMultiset().remove(e3(), 2)); } catch (UnsupportedOperationException ok) { }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-request-and-route.md
/// Também podemos usar essa mesma abordagem para acessar o corpo da requisição em um manipulador de exceção. Tudo que precisamos fazer é manipular a requisição dentro de um bloco `try`/`except`: {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *} Se uma exceção ocorrer, a instância `Request` ainda estará em escopo, então podemos ler e fazer uso do corpo da requisição ao lidar com o erro:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
*/ @Nonnull Path getRootDirectory(); /** * Returns a proto session builder of this instance. */ @Nonnull default Builder toBuilder() { try { return new Builder( getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory()); } catch (IllegalStateException e) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.saturatedCast(Long.MAX_VALUE)).isEqualTo(GREATEST); assertThat(Chars.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST); } private void assertCastFails(long value) { try { Chars.checkedCast(value); fail("Cast to char should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
return Types.newParameterizedTypeWithOwner( resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs); } private static <T> T expectArgument(Class<T> type, Object arg) { try { return type.cast(arg); } catch (ClassCastException e) { throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName()); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0)