- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,976 for throws (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
* * @param projects The projects to create the dependency graph with * @throws DuplicateProjectException * @throws CycleDetectedException */ public DefaultProjectDependencyGraph(Collection<MavenProject> projects) throws CycleDetectedException, DuplicateProjectException { this(projects, projects); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
@SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); } public void testRead_putSingleByte() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java
@ParameterizedTest(name = "for {0}") @ValueSource(strings = {"4.0.0", "4.1.0", "4.2.0"}) @DisplayName("should detect model version") void shouldDetectModelVersionFromNamespace(String targetVersion) throws Exception { String pomXml = PomBuilder.create() .namespace("http://maven.apache.org/POM/" + targetVersion) .modelVersion(targetVersion) .groupId("test")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 19.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ArchetypeGraph.java
* {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul> * <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals(...)} * expression involving {@code view} will throw) * <li>{@code hashCode()} does not throwCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 7.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
} while (System.nanoTime() - deadline < 0); throw formatRuntimeException( "Predicate did not become true within %d second timeout", timeoutSeconds); } /** * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero, * invoking the garbage collector as necessary to try to ensure that this will happen. * * @throws RuntimeException if timed out or interrupted while waiting
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
* * @param it an iterator of I/O suppliers that will provide each substream */ public MultiInputStream(Iterator<? extends ByteSource> it) throws IOException { this.it = checkNotNull(it); advance(); } @Override public void close() throws IOException { if (in != null) { try { in.close(); } finally { in = null; } } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
class MvnDirectoryCreationTests { @Test @DisplayName("should create .mvn directory when model version is not 4.1.0") void shouldCreateMvnDirectoryWhenModelVersionNot410() throws Exception { Path projectDir = tempDir.resolve("project"); Files.createDirectories(projectDir); // Create a simple POM file String pomXml = PomBuilder.create()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
.build(); }) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string());
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
@Inject private PlexusContainer container; private File testDirectory; @BeforeEach void setUp() throws Exception { testDirectory = new File(getBasedir(), BASE_POM_DIR); } @Test void testSettingsNoPom() throws Exception { PomTestWrapper pom = buildPom("settings-no-pom");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.5K bytes - Click Count (0)