- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,667 for throws (0.05 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
@DisplayName("Plugin Upgrades") class PluginUpgradeTests { @Test @DisplayName("should upgrade plugin version when below minimum") void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception { String pomXml = PomBuilder.create() .groupId("test") .artifactId("test") .version("1.0.0")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
ListenableFuture<String> f = FluentFuture.from(SettableFuture.create()); assertThat(FluentFuture.from(f)).isSameInstanceAs(f); } public void testFromNonFluentFuture() throws Exception { ListenableFuture<String> f = new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {}; verify(!(f instanceof FluentFuture)); assertThat(FluentFuture.from(f).get()).isEqualTo("a");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/MavenTransferListener.java
} @Override public void transferInitiated(TransferEvent event) throws TransferCancelledException { dispatcher.transfer(ProjectBuildLogAppender.getProjectId(), event); delegate.transferInitiated(event); } @Override public void transferStarted(TransferEvent event) throws TransferCancelledException { dispatcher.transfer(ProjectBuildLogAppender.getProjectId(), event);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* * @throws MojoExecutionException if an unexpected problem occurs. * Throwing this exception causes a "BUILD ERROR" message to be displayed. * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs. * Throwing this exception causes a "BUILD FAILURE" message to be displayed. */ void execute() throws MojoExecutionException, MojoFailureException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
@J2ktIncompatible private static void reserializeAndAssert(Object object) throws Exception { Object copy = reserialize(object); assertEquals(object, copy); assertEquals(object.getClass(), copy.getClass()); } @GwtIncompatible @J2ktIncompatible private static Object reserialize(Object object) throws Exception { ByteArrayOutputStream bytes = new ByteArrayOutputStream();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java
@Inject protected DefaultTypeRegistry defaultTypeRegistry; @Inject protected VersionScheme versionScheme; @Test void isNoSnapshotUpdatesTest() throws InvalidRepositoryException { DefaultRepositorySystemSessionFactory systemSessionFactory = new DefaultRepositorySystemSessionFactory( aetherRepositorySystem, eventSpyDispatcher,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 19.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java
this.modelPool = original.modelPool; } @Override public void addRepository(Repository repository) throws InvalidRepositoryException { addRepository(repository, false); } @Override public void addRepository(final Repository repository, boolean replace) throws InvalidRepositoryException { if (!repositoryIds.add(repository.getId())) { if (!replace) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.4K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java
@BeforeEach void setUp() throws Exception { builder = new ExtensionDescriptorBuilder(); } @AfterEach void tearDown() throws Exception { builder = null; } private InputStream toStream(String xml) { return new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8)); } @Test void testEmptyDescriptor() throws Exception {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/ClassMetaDataRepository.java
*/ package gradlebuild.docs.model; import groovy.lang.Closure; import org.gradle.api.UnknownDomainObjectException; public interface ClassMetaDataRepository<T> { T get(String fullyQualifiedClassName) throws UnknownDomainObjectException; T find(String fullyQualifiedClassName); void put(String fullyQualifiedClassName, T metaData); void each(Closure cl);
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 989 bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
@CheckReturnValue @Override public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { return delegate().awaitTermination(timeout, unit); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0)