- Sort Score
- Result 10 results
- Languages All
Results 2901 - 2910 of 3,054 for throws (0.2 sec)
- 
				
				src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.javacallback.store(params, data); callback.store(params, data); assertEquals(3L, callback.getDocumentSize()); assertEquals(300L, callback.getExecuteTime()); // Test commit (should not throw exception) callback.commit(); } public void test_multiple_implementations() { // Test with different implementations to ensure interface contract Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.javabadWordService.importCsv(reader); suggestHelper.storeAllBadWords(false); } catch (final Exception e) { throw new FessSystemException("Failed to import data.", e); } }); return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result()); } /** Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.3K bytes - Viewed (0)
- 
				
				guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.javapublic abstract ImmutableBiMap<V, K> inverse(); @Override public ImmutableSet<V> values() { return inverse().keySet(); } public final @Nullable V forcePut(K key, V value) { throw new UnsupportedOperationException(); } Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 7.1K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java// Check if transport creation failed if (newTransport == null) { throw new IOException("Failed to create new transport"); } // Reconnect channel.setState(ChannelState.CONNECTING);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsSearchLogBhv.javareturn updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends SearchLog> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; } Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.5K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.javareturn updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends FileConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; } Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java// Consistent hashCode assertEquals(item1.hashCode(), item1.hashCode()); } public void test_hashCode_withNullInput() { // Test hashCode with null input should throw NullPointerException ProtwordsItem item = new ProtwordsItem(1, null); try { item.hashCode(); fail("Expected NullPointerException"); } catch (NullPointerException e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0)
- 
				
				okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.ktval address = canonicalizeInetAddress(inetAddressByteArray) if (address.size == 16) return inet6AddressToAscii(address) if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address. throw AssertionError("Invalid IPv6 address: '$host'") } val result = idnToAscii(host) ?: return null if (result.isEmpty()) return null if (result.containsInvalidHostnameAsciiCodes()) return null Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0)
- 
				
				README.md``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exceptionRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.javabb.putShort((short) 0); // tflags high bytes // Invalid referral version bb.putShort((short) 99); // unsupported version // Should throw exception for unsupported version assertThrows(Exception.class, () -> { buffer.decode(testBuffer, 0, testBuffer.length); }); } } @Nested Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0)