- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 3,747 for throwIt (0.05 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
override fun writeTo(sink: BufferedSink) { requestBodySinks.add(sink) } override fun isDuplex(): Boolean = true @Throws(InterruptedException::class) fun takeSink(): BufferedSink = requestBodySinks.poll(5, SECONDS) ?: throw AssertionError("no sink to take") fun assertNoMoreSinks() { assertTrue(requestBodySinks.isEmpty()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
} /** * @throws Exception */ @Test public void testNewInstance() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(Integer.class); assertThat((Integer) beanDesc.newInstance(10), is(10)); assertThat((Integer) beanDesc.newInstance("10"), is(10)); } /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0 when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB300);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
private static LogStream log = LogStream.getInstance(); /** * This is really just for {@link jcifs.smb1.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @return a string representing the bulk line for OpenSearch indexing * @throws SuggesterException if an I/O error occurs during the creation of the bulk line */ public static String createBulkLine(final String index, final String type, final SuggestItem item) { if (item == null || item.getId() == null || item.getText() == null) { throw new SuggesterException("Invalid SuggestItem: item, id, or text is null"); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 11:21:40 GMT 2025 - 17.5K bytes - Click Count (1) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class); assertGoodFeatureEnum(ListFeature.class); assertGoodFeatureEnum(SetFeature.class);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
// Then assertNotNull(cancel); assertEquals(mid, cancel.getMid()); } @Test @DisplayName("Should throw NullPointerException when config is null") void testNullConfigurationThrowsException() throws Exception { // Given Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
* @return The content of the resource file as a string * @throws IOException If an I/O error occurs or the resource is not found */ public static String loadJsonResource(final String resourcePath) throws IOException { return loadJsonResource(resourcePath, Collections.emptyMap()); } /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
this.resolutionErrorHandler = resolutionErrorHandler; } @Override public Set<Artifact> resolve(MavenProject project, Collection<String> scopesToResolve, MavenSession session) throws ArtifactResolutionException, ArtifactNotFoundException { return resolve(Collections.singleton(project), scopesToResolve, session); } @Override public Set<Artifact> resolve(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.4K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
this.repositorySystem = repositorySystem; } @Override public MavenExecutionRequest populateFromToolchains(MavenExecutionRequest request, PersistedToolchains toolchains) throws MavenExecutionRequestPopulationException { if (toolchains != null) { Map<String, List<ToolchainModel>> groupedToolchains = new HashMap<>(2);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 8.4K bytes - Click Count (0)