Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,621 for thrown (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            } finally {
                eventCatapult.fire(ExecutionEvent.Type.SessionEnded, session, null);
            }
        }
    
        public List<TaskSegment> calculateTaskSegments(MavenSession session) throws Exception {
    
            MavenProject rootProject = session.getTopLevelProject();
    
            List<String> tasks = requireNonNull(session.getGoals()); // session never returns null, but empty list
    
    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)
  2. guava/src/com/google/common/io/CharStreams.java

       * @param n the number of characters to skip
       * @throws EOFException if this stream reaches the end before skipping all the characters
       * @throws IOException if an I/O error occurs
       */
      public static void skipFully(Reader reader, long n) throws IOException {
        checkNotNull(reader);
        while (n > 0) {
          long amt = reader.skip(n);
          if (amt == 0) {
            throw new EOFException();
          }
          n -= amt;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

        @Test
        void testHelpExecuteReturnsZero() throws Exception {
            UpgradeContext context = createMockContext();
    
            int result = help.execute(context);
    
            assertEquals(0, result, "Help goal should return 0 (success)");
        }
    
        @Test
        void testHelpExecuteDoesNotThrow() throws Exception {
            UpgradeContext context = createMockContext();
    
            // Should not throw any exceptions
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

        private String deploymentTimestamp;
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request) throws ArtifactResolutionException {
            // Only select snapshots that are unresolved (eg 1.0-SNAPSHOT, not 1.0-20050607.123456)
            if (artifact.isSnapshot() && artifact.getBaseVersion().equals(artifact.getVersion())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

        void testReactorDependencyInjection() throws Exception {
            List<String> reactorOrder =
                    getReactorOrder("lifecycle-participant-reactor-dependency-injection", InjectReactorDependency.class);
            assertEquals(Arrays.asList("parent", "module-b", "module-a"), reactorOrder);
        }
    
        private <T> List<String> getReactorOrder(String testProject, Class<T> participant) throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.pluginArtifact = pluginArtifact;
        }
    
        public Lifecycle getLifecycleMapping(String lifecycleId) throws IOException, XMLStreamException {
            return getLifecycleMappings().get(lifecycleId);
        }
    
        public Map<String, Lifecycle> getLifecycleMappings() throws IOException, XMLStreamException {
            if (lifecycleMappings == null) {
                LifecycleConfiguration lifecycleConfiguration;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          throw new ExecutionException(e);
        } catch (Error e) {
          statsCounter.recordLoadException(ticker.read() - startTime);
          throw new ExecutionError(e);
        }
    
        if (calculatedValue == null) {
          String message = loader + " returned null for key " + key + ".";
          throw new CacheLoader.InvalidCacheLoadException(message);
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  9. android/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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                throws ModelInterpolationException {
            interpolateObject(model, model, projectDir, config, debugEnabled);
    
            return model;
        }
    
        protected void interpolateObject(
                Object obj, Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
                throws ModelInterpolationException {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top