- Sort Score
- Num 10 results
- Language All
Results 871 - 880 of 2,371 for Try (0.01 seconds)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
*/ public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) { if (activeWatchers.containsKey(directoryPath)) { return; // Already watching } try { SmbFile directory = new SmbFile(directoryPath, leaseManager.getContext()); ChangeNotificationHandle handle = new ChangeNotificationHandle(directoryPath, leaseKey, directory);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
public void testPutAll_supportedNothing() { getMap().putAll(emptyMap()); expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testPutAll_unsupportedNothing() { try { getMap().putAll(emptyMap()); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_supportedNonePresent() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
assertTrue(foundTestMethod); } @Test public void test_throwAndCatch() { // Test throwing and catching the exception String message = "Throw and catch test"; try { throw new SearchEngineClientException(message); } catch (SearchEngineClientException e) { assertEquals(message, e.getMessage()); assertNull(e.getCause()); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ComponentUtilTest.java
@Test public void test_getJobExecutor_withSuffix() { try { ComponentUtil.getJobExecutor("testJobExecutor"); fail("Should throw exception"); } catch (Exception e) { // Expected } } @Test public void test_getJobExecutor_withoutSuffix() { try { ComponentUtil.getJobExecutor("test");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
.isFalse(); if (!spec.suppressGetSubtype()) { try { assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())) .isNotEqualTo(paramType); } catch (IllegalArgumentException notSubtype1) { // The raw class isn't even a subclass. } } if (!spec.suppressGetSupertype()) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial008b_py310.py
"portal-gun": {"description": "Gun to create portals", "owner": "Rick"}, } class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 735 bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
return false; } } try { return sortedDelegate.containsAll(targets); } catch (ClassCastException e) { return false; } } @Override public E first() { return sortedDelegate.first(); } @Override public ImmutableSortedSet<E> headSet(E toElement) { checkNotNull(toElement); try {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} } else if (this.url.getAuthority() == null || this.url.getAuthority().isEmpty()) { this.type = SmbConstants.TYPE_WORKGROUP; } else { try { final NetbiosAddress nbaddr = getAddress().unwrap(NetbiosAddress.class); if (nbaddr != null) { final int code = nbaddr.getNameType();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0)