- Sort Score
- Num 10 results
- Language All
Results 1541 - 1550 of 2,684 for catch (0.03 seconds)
-
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
scheduledJob.setId("nonexistent-job"); try { scheduledJob.start(Map.of(Constants.JOB_LOG_ID, "some-id")); fail("Expected JobNotFoundException"); } catch (final JobNotFoundException e) { // expected } } @Test public void test_startNoArg_callsLaunchNowWithoutParams() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
synchronized (this) { try { state = 1; final DcerpcMessage bind = new DcerpcBind(binding, this); sendrecv(bind); } catch (final IOException ioe) { state = 0; throw ioe; } } } /** * Sends a DCERPC message and receives the response
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length"); lengthField.setAccessible(true); lengthField.setInt(this, length); } catch (Exception e) { throw new RuntimeException(e); } } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) { return 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
setId(target, searchHit.getId()); targetList.add(target); } } catch (final Exception e) { throw new OpenSearchAccessException("Failed to parse access result from OpenSearch response: totalHits=" + totalHitsValue, e); } }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
// This test documents the expected behavior try { String result = ldapManager.normalizePermissionName(null); assertNull(result); } catch (NullPointerException e) { // NPE is acceptable for null input } } @Test public void test_normalizePermissionName_withLowercaseEnabled() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
return; } cleanupScheduler.shutdownNow(); try { cleanupScheduler.awaitTermination(5, TimeUnit.SECONDS); } catch (InterruptedException e) { Thread.currentThread().interrupt(); log.warn("Interrupted while shutting down cleanup scheduler", e); } log.info("Authentication rate limiter closed");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* domainName = InternetDomainName.from(name); * } catch (IllegalArgumentException e) { * domainName = DEFAULT_DOMAIN; * } * } * * @since 8.0 (previously named {@code isValidLenient}) */ public static boolean isValid(String name) { try { InternetDomainName unused = from(name); return true; } catch (IllegalArgumentException e) { return false; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
TermQuery termQuery = new TermQuery(new Term("field", "value")); try { queryProcessor.execute(context, termQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java
/* * try { ArtifactResolutionResult res = collect( a ); fail( "Expected b not to resolve: " + res ); } catch ( * OverConstrainedVersionException e ) { assertTrue( e.getMessage().indexOf( "[1.0-SNAPSHOT]" ) < * e.getMessage().indexOf( "[1.0,)" ) ); } */ } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 43K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
} return methodsInListener; } private static ImmutableList<Method> getAnnotatedMethods(Class<?> clazz) { try { return subscriberMethodsCache.getUnchecked(clazz); } catch (UncheckedExecutionException e) { if (e.getCause() instanceof IllegalArgumentException) { /* * IllegalArgumentException is the one unchecked exception that we know is likely to happenCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0)