Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for RuntimeException (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                                .getPluginDescriptor()
                                .getLifecycleMappings()
                                .values()));
                    } catch (Exception e) {
                        throw new RuntimeException("Unable to load plugin lifecycles", e);
                    }
                }
    
                @Override
                public ClassLoader getClassLoader() {
                    return delegate.getMojoDescriptor().getRealm();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                } catch (ClassCastException e) {
                    // to be processed in the outer catch block
                    throw e;
                } catch (RuntimeException e) {
                    throw new PluginExecutionException(mojoExecution, project, e);
                }
            } catch (PluginContainerException e) {
                mojoExecutionListener.afterExecutionFailure(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

                            rr.getPolicy(true).getUpdatePolicy(),
                            rr.getPolicy(false).getChecksumPolicy());
    
                } catch (Exception e) {
                    throw new RuntimeException("Unable to create repository", e);
                }
            } else {
                // TODO
                throw new UnsupportedOperationException("Not yet implemented");
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                clone.currentProject = ThreadLocal.withInitial(() -> current);
                return clone;
            } catch (CloneNotSupportedException e) {
                throw new RuntimeException("Bug", e);
            }
        }
    
        public Date getStartTime() {
            return request.getStartTime();
        }
    
        public boolean isParallel() {
            return parallel;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            .findAny()
                            .orElse(null);
                    if (cycle != null) {
                        throw new RuntimeException(new ProjectCycleException(
                                "The projects in the reactor contain a cyclic reference: " + cycle.getMessage(),
                                (CycleDetectedException) cycle.getException()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

                    isActive = true;
                    try {
                        if (!activator.isActive(profile, context, problems)) {
                            return false;
                        }
                    } catch (RuntimeException e) {
                        problems.add(
                                Severity.ERROR,
                                Version.BASE,
                                "Failed to determine activation for profile " + profile.getId(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            try {
                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
            } catch (RuntimeException e) {
                // TODO Hack to make the cycle detection the same for the new graph builder
                if (e.getCause() instanceof ProjectCycleException) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            try {
                transporter.get(getTask);
                return true;
            } catch (Exception e) {
                if (Transporter.ERROR_NOT_FOUND != transporter.classify(e)) {
                    throw new RuntimeException(e);
                }
                return false;
            }
        }
    
        @Override
        public Optional<byte[]> getBytes(URI relativeSource) {
            try {
                Path tempPath = null;
                try {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        private VersionRange parseVersionRange(String spec) {
            try {
                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                return children;
            }
    
            List<Vertex> getParents() {
                return parents;
            }
        }
    
        static class CycleDetectedException extends RuntimeException {
            private final List<String> cycle;
    
            CycleDetectedException(String message, List<String> cycle) {
                super(message);
                this.cycle = cycle;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top