Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for handleException (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   cause if this Future has failed.
           *
           * - And this future *has* failed: This method is called only from handleException (through
           *   getOrInitSeenExceptions). handleException tried to call setException and failed, so
           *   either this Future was cancelled (which we ruled out with the isCancelled check above),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java

     */
    package org.apache.maven.exception;
    
    /**
     * Transform an exception into useful end-user message.
     *
     * @since 3.0-alpha-3
     */
    public interface ExceptionHandler {
        ExceptionSummary handleException(Throwable e);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1023 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
          //
          seenExceptionsLocal = newConcurrentHashSet();
          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AggregateFutureState.java

           *
           * Fortunately, exceptions rarely contain references to expensive resources.
           */
    
          //
          seenExceptionsLocal = newConcurrentHashSet();
          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        final EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        final Object subscriber =
            new Object() {
              @Subscribe
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    /**
     * Transform an exception into useful end-user message.
     */
    @Named
    @Singleton
    public class DefaultExceptionHandler implements ExceptionHandler {
        @Override
        public ExceptionSummary handleException(Throwable exception) {
            return handle("", exception);
        }
    
        private ExceptionSummary handle(String message, Throwable exception) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    }
                    return doInvoke(context);
                } catch (ExitException e) {
                    return e.exitCode;
                } catch (Exception e) {
                    throw handleException(context, e);
                }
            } finally {
                Thread.currentThread().setContextClassLoader(oldCL);
                System.setProperties(oldProps);
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                List<MavenProject> failedProjects = new ArrayList<>();
    
                for (Throwable exception : result.getExceptions()) {
                    ExceptionSummary summary = handler.handleException(exception);
                    logSummary(context, summary, references, "");
    
                    if (exception instanceof LifecycleExecutionException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                List<MavenProject> failedProjects = new ArrayList<>();
    
                for (Throwable exception : result.getExceptions()) {
                    ExceptionSummary summary = handler.handleException(exception);
    
                    logSummary(summary, references, "", cliRequest.showErrors);
    
                    if (exception instanceof LifecycleExecutionException) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top