Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,783 for exception (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/singlethreaded/SingleThreadedBuilder.java

                        if (reactorBuildStatus.isHalted()) {
                            break;
                        }
                    } catch (Exception e) {
                        break; // Why are we just ignoring this exception? Are exceptions are being used for flow control
                    }
                }
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAdvance() throws Exception {
        FakeTicker ticker = new FakeTicker();
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                // adds two nanoseconds to the ticker
                ticker.advance(1L);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

         * it may throw the exception on the (n-1)th element (oops!).
         */
    
        /* Checks the case where the first element throws an exception. */
    
        List<Integer> list = emptyList();
        Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list));
        assertNextThrows(iterator);
    
        /* Checks the case where a later element throws an exception. */
    
        list = Lists.newArrayList(1, 2);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionEventCatapult.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.plugin.MojoExecution;
    
    /**
     * Assists in firing execution events. <strong>Warning:</strong> This is an internal utility interface that is only
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/logging/BuildEventListener.java

        void projectFinished(String projectId);
    
        void executionFailure(String projectId, boolean halted, String exception);
    
        void mojoStarted(ExecutionEvent event);
    
        void finish(int exitCode) throws Exception;
    
        void fail(Throwable t) throws Exception;
    
        void log(String msg);
    
        void transfer(String projectId, TransferEvent e);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. 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)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    class MavenExecutionPlanTest {
    
        @Test
        void testFindLastInPhase() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
            ExecutionPlanItem expected = plan.findLastInPhase("package");
            assertNotNull(expected);
        }
    
        @Test
        void testThreadSafeMojos() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  8. fastapi/encoders.py

                f" Please update the model {obj!r}."
            )
        try:
            data = dict(obj)
        except Exception as e:
            errors: list[Exception] = []
            errors.append(e)
            try:
                data = vars(obj)
            except Exception as e:
                errors.append(e)
                raise ValueError(errors) from e
        return jsonable_encoder(
            data,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          // mayInterruptIfRunning is irrelevant.
          cancel(false);
          return;
        } catch (ExecutionException e) {
          // Set the cause of the exception as this future's exception.
          setException(e.getCause());
          return;
        } catch (Exception e) { // sneaky checked exception
          // Bug in inputFuture.get(). Propagate to the output Future so that its consumers don't hang.
          setException(e);
          return;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                                        .build()));
                    } catch (InvokerException.ExitException e) {
                        exitCode = e.getExitCode();
                        exception = e;
                    } catch (Exception e) {
                        exception = e;
                    }
    
                    // dump things out
                    System.out.println("===================================================");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top