Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 130 for getCause (0.09 sec)

  1. guava/src/com/google/common/cache/AbstractLoadingCache.java

      @Override
      public V getUnchecked(K key) {
        try {
          return get(key);
        } catch (ExecutionException e) {
          throw new UncheckedExecutionException(e.getCause());
        }
      }
    
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        Map<K, V> result = Maps.newLinkedHashMap();
        for (K key : keys) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

        }
    
        /**
         * Constructs a new {@code MojoExecutionException} wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
         *              A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.
         */
        public MojoException(Throwable cause) {
            super(cause);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
        public Mojo getMojo() {
            return mojo;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public List<MojoExecution> getExecutionPlan() {
            return executionPlan;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                try {
                  String result = Uninterruptibles.getUninterruptibly(currentFuture.get());
                  finalResults.add(result);
                } catch (ExecutionException e) {
                  finalResults.add(e.getCause());
                } catch (CancellationException e) {
                  finalResults.add(CancellationException.class);
                } finally {
                  awaitUnchecked(barrier);
                }
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

         *                by the {@link #getMessage()} method).
         * @param cause   the cause (which is saved for later retrieval by the
         *                {@link #getCause()} method). A {@code null} value is
         *                permitted, and indicates that the cause is nonexistent or unknown.
         */
        public InterpolatorException(String message, Throwable cause) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoExecutionException.java

        }
    
        /**
         * Constructs a new {@code MojoExecutionException} exception wrapping an underlying {@code Throwable}.
         *
         * @param cause the cause which is saved for later retrieval by the {@link #getCause()} method.
         *              A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.
         * @since 3.8.3
         */
        public MojoExecutionException(Throwable cause) {
            super(cause);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

              assertThrows(
                  InvocationTargetException.class,
                  () -> checkArgumentMethod.invoke(null /* static method */, failingParams));
          assertFailureCause(ite.getCause(), IllegalArgumentException.class, failingParams);
        }
      }
    
      @GwtIncompatible("Reflection")
      @J2ktIncompatible
      public void testAllOverloads_checkState() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        exec.execute(task);
        runLatch.await();
        taskLatch.countDown();
    
        ExecutionException e = assertThrows(ExecutionException.class, () -> task.get(5, SECONDS));
        assertEquals(IllegalStateException.class, e.getCause().getClass());
    
        assertTrue(listenerLatch.await(5, SECONDS));
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        "Error executing " + context.invokerRequest.parserRequest().commandName() + ".");
                context.logger.error(e.getMessage());
                for (Throwable cause = e.getCause(); cause != null && cause != cause.getCause(); cause = cause.getCause()) {
                    context.logger.error("Caused by: " + cause.getMessage());
                }
            }
            return new InvokerException(e.getMessage(), e);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top