Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for handleException (0.12 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. 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)
  4. 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)
  5. 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)
  6. 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