- Sort Score
- Num 10 results
- Language All
Results 2401 - 2410 of 3,804 for throws (0.06 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
} @Nested @DisplayName("Execution") class ExecutionTests { @Test @DisplayName("should log appropriate header message") void shouldLogAppropriateHeaderMessage() throws Exception { UpgradeContext context = createMockContext(); // Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("check-test");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
/** * Returns a media type for this string. * * @throws IllegalArgumentException if this is not a well-formed media type. */ @JvmStatic @JvmName("get") fun String.toMediaType(): MediaType { val typeSubtype = TYPE_SUBTYPE.matchAt(this, 0) ?: throw IllegalArgumentException("No subtype found for: \"$this\"")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 60) { throw new SMBProtocolDecodingException("Expected structureSize = 60"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
void testWithDifferentDelegates() throws Exception { // Given BaseConfiguration baseConfig = new BaseConfiguration(false); DelegatingConfiguration configWithBaseDelegate = new DelegatingConfiguration(baseConfig); // When & Then - should not throw exceptions assertDoesNotThrow(() -> { configWithBaseDelegate.getResponseTimeout();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
* columns in the first row, the columns in the second row, etc. If a column Comparator is * provided but a row Comparator isn't, cellSet() iterates across the rows in the first * column, the rows in the second column, etc. */ Comparator<Cell<R, C, V>> comparator = (Cell<R, C, V> cell1, Cell<R, C, V> cell2) -> { int rowCompare =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
import org.junit.jupiter.api.TestInfo; public class UserAgentHelperTest extends UnitFessTestCase { public UserAgentHelper userAgentHelper; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); userAgentHelper = new UserAgentHelper(); } @Test public void test_getUserAgentType_IE9() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
* @return a new, empty {@code ObjectCountLinkedHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ static <K extends @Nullable Object> ObjectCountLinkedHashMap<K> createWithExpectedSize( int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
throw new UnsupportedOperationException(); } @Override public Iterator<String> iterator() { throw new UnsupportedOperationException(); } @Override public boolean removeAll(Collection<?> collection) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
public void testForSupplierSerializable() { checkCanReserialize(Functions.forSupplier(new CountingSupplier())); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls(); } @J2ktIncompatible @GwtIncompatible // reflection
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
ReactorContext reactorContext, ProjectBuildList projectBuilds, List<TaskSegment> taskSegments, ReactorBuildStatus reactorBuildStatus) throws ExecutionException, InterruptedException { int nThreads = Math.min( session.getRequest().getDegreeOfConcurrency(), session.getProjects().size()); boolean parallel = nThreads > 1;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 16 03:42:09 GMT 2025 - 8.9K bytes - Click Count (0)