- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 2,976 for throw (0.02 sec)
-
guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( () -> new EnumMapAccumulator<K, V>( (v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
// creation cost. @CanIgnoreReturnValue static Object checkElementNotNull(@Nullable Object element, int index) { if (element == null) { throw new NullPointerException("at index " + index); } return element; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
requestData.setUrl(url); return requestData; } /** * Closes the response data, deleting temporary files if any. * @throws IOException if an I/O error occurs. */ @Override public void close() throws IOException { if (isTemporaryFile) { FileUtil.deleteInBackground(responseBodyFile); } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 11.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
method.setAccessible(true); return (String[]) method.invoke(null, (Object) values); } catch (Exception e) { throw new RuntimeException(e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
void testConstructorWithInvalidInformationLevel() { // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99); assertNotNull(trans2); // Exception should be thrown when trying to write parameters byte[] buffer = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testToStringWithNullFileId() throws Exception { // Set oplockLevel but leave fileId as null Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel"); oplockLevelField.setAccessible(true); oplockLevelField.set(notification, (byte) 0x01); // The implementation calls Hexdump.toHexString which throws NPE on null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
try { rateLimiter.checkAttempt(username, ip); fail("Should throw SmbException for locked account"); } catch (SmbException e) { assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout"); } } @Test public void testIpRateLimit() throws Exception { String ip = "192.168.1.3";Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
installArtifact(artifact); saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName())); } } catch (final ValidationErrorException e) { throw e; } catch (final Exception e) { throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml); } return redirect(getClass()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java
@Override public void setUp() throws Exception { super.setUp(); generator = new CommandGenerator(); } // Basic setter tests public void test_setCommandTimeout() throws Exception { final long timeout = 5000L; generator.setCommandTimeout(timeout); assertTrue(true); } public void test_setCommandDestroyTimeout() throws Exception {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
return true; } @Override public void process(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws IOException, ServletException { throw new ServletException("Test error"); } } private static class StatusCodeWebApiManager implements WebApiManager { private final int statusCode;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0)