Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,783 for exception (0.04 seconds)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

                    .let(transform)
            }
    
        override fun close() {
            val errors = mutableListOf<Exception>()
            openKotlinCompilationUnitsByRoot.values.forEach { unit ->
                try {
                    unit.close()
                } catch (ex: Exception) {
                    errors.add(ex)
                }
            }
            openJavaCompilationUnitsByFile.clear()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/DefaultArtifactResolverTest.java

        @BeforeEach
        @Override
        public void setUp() throws Exception {
            super.setUp();
            projectArtifact = createLocalArtifact("project", "3.0");
        }
    
        @Override
        protected String component() {
            return "resolver";
        }
    
        @Test
        void testMNG4738() throws Exception {
            Artifact g = createLocalArtifact("g", "1.0");
            createLocalArtifact("h", "1.0");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ExecutionEventCatapultStub.java

        @Override
        public void fire(Type eventType, MavenSession session, MojoExecution mojoExecution) {}
    
        @Override
        public void fire(Type eventType, MavenSession session, MojoExecution mojoExecution, Exception exception) {}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

      public void testFinishToFuture_throwsIfCalledTwice() throws Exception {
        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                Exception exception) {
            RepositoryListener listener = session.getRepositoryListener();
            if (listener != null) {
                RepositoryEvent.Builder event = new RepositoryEvent.Builder(session, EventType.METADATA_INVALID);
                event.setTrace(trace);
                event.setMetadata(metadata);
                event.setException(exception);
                event.setRepository(repository);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 17 13:14:10 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                executor.execute(session, reactorContext, taskSegments);
    
            } catch (Exception e) {
                session.getResult().addException(e);
            } finally {
                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
        }
    
        public List<TaskSegment> calculateTaskSegments(MavenSession session) throws Exception {
    
            MavenProject rootProject = session.getTopLevelProject();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

                }
            } catch (IOException | XMLStreamException e) {
                // The root locator can be used very early during the setup of Maven,
                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

        /**
         * <p>
         * Test getting property.
         * </p>
         *
         * @throws Exception
         */
        @Test
        public void testGettingProperty() throws Exception {
            Object o2 = properties.get("test");
            assertEquals("test", o2);
        }
    
        @Test
        public void testLoadSave() throws IOException {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter(sw);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

                    new DefaultVersionParser(new DefaultModelVersionParser(new MavenVersionScheme())),
                    dependencyResolver));
            return services;
        }
    
        @Test
        void testTrivialConsumer() throws Exception {
            InternalMavenSession.from(InternalSession.from(session))
                    .getMavenSession()
                    .getRequest()
                    .setRootDirectory(Paths.get("src/test/resources/consumer/trivial"));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top