- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,621 for thrown (0.04 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
@Override public void transferStarted(TransferEvent event) throws TransferCancelledException { if (ongoing.get(new TransferResourceIdentifier(event.getResource())) == Boolean.FALSE) { throw new TransferCancelledException(); } put(event, false); } @Override public void transferProgressed(TransferEvent event) throws TransferCancelledException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
} } else { throw new IllegalStateException("unexpected task " + task); } } return mojoExecutions; } private Map<String, List<MojoExecution>> calculateLifecycleMappings( MavenSession session, MavenProject project, String lifecyclePhase)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Mar 25 09:45:07 GMT 2025 - 26.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
} catch (FileNotFoundException | URISyntaxException e) { throw new IllegalStateException("Missing test POM for " + artifact, e); } } else { result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null)); throw new ArtifactResolutionException(results); } } return results; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java
return read(new XmlStreamReader(in), strict); } /** * Method read. * * @param in a in object. * @return PersistedToolchains * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. */
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat May 31 10:30:45 GMT 2025 - 5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
Objects.requireNonNull(output, "output cannot be null"); Objects.requireNonNull(settings, "settings cannot be null"); try (Writer out = output) { new SettingsStaxWriter().write(out, settings.getDelegate()); } catch (XMLStreamException e) { throw new IOException("Error writing settings", e); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
} public void testSuccessful() throws Exception { assertThat(future.set(1)).isTrue(); assertSuccessful(future, 1); } public void testFailed() throws Exception { Exception cause = new Exception(); assertThat(future.setException(cause)).isTrue(); assertFailed(future, cause); } public void testCanceled() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 15.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
this.repoSystem = repoSystem; } public List<CoreExtensionEntry> loadCoreExtensions( MavenExecutionRequest request, Set<String> providedArtifacts, List<CoreExtension> extensions) throws Exception { try (CloseableSession repoSession = repositorySystemSessionFactory .newRepositorySessionBuilder(request)Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java
* Reads a JSON file and finds any .adoc files listed that are missing from the given directory. */ private static List<String> findMissingAdocFiles(File jsonFile, String directoryPath) throws IOException { List<String> missingFiles = new ArrayList<>(); Gson gson = new Gson(); List<AdocFileEntry> entries; try (FileReader reader = new FileReader(jsonFile)) {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Aug 21 15:38:58 GMT 2025 - 8.5K bytes - Click Count (0)