- Sort Score
- Num 10 results
- Language All
Results 3001 - 3010 of 3,282 for throwIt (0.06 seconds)
-
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
List<Object> list = new ArrayList<>(equalityGroup.length); for (int i = 0; i < equalityGroup.length; i++) { Object element = equalityGroup[i]; if (element == null) { throw new NullPointerException("at index " + i); } list.add(element); } equalityGroups.add(list); return this; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
writer.write(hit.getSourceAsString()); writer.write("\n"); } catch (final IOException e) { throw new IORuntimeException(e); } return true; }); writer.flush(); } });
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
} @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
}); } return result; } catch (final Exception e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
void testConstructorSucceeds(String systemName, int accessMask) { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & Assert - constructor should not throw assertDoesNotThrow(() -> new MsrpcSamrConnect2(systemName, accessMask, ph)); } @Test @DisplayName("should create instance with valid parameters")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root } if (matches.isEmpty()) { throw GradleException("Could not locate any matches for $notation") } matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Nov 24 20:45:41 GMT 2025 - 5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
try { getList().subList(1, 0); fail("subList(1, 0) should throw"); } catch (IndexOutOfBoundsException expected) { } catch (IllegalArgumentException expected) { /* * The subList() docs claim that this should be an * IndexOutOfBoundsException, but many JDK implementations throw * IllegalArgumentException: * https://bugs.openjdk.org/browse/JDK-4506427 */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
try { getList().subList(1, 0); fail("subList(1, 0) should throw"); } catch (IndexOutOfBoundsException expected) { } catch (IllegalArgumentException expected) { /* * The subList() docs claim that this should be an * IndexOutOfBoundsException, but many JDK implementations throw * IllegalArgumentException: * https://bugs.openjdk.org/browse/JDK-4506427 */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
throw InterruptedIOException() } }, ).addNetworkInterceptor( Interceptor { chain: Interceptor.Chain -> try { Thread.sleep(networkInterceptorDelay) return@Interceptor chain.proceed(chain.request()) } catch (e: InterruptedException) { throw InterruptedIOException() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/PingResponse.java
if (StringUtil.isBlank(message)) { message = "{}"; } } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Gets the status. * * @return the status */ public int getStatus() { return status; }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.4K bytes - Click Count (2)