Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for RuntimeException (0.2 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/lifecycle/internal/LifecycleModuleBuilder.java

                        new ProjectExecutionEvent(session, currentProject, t));
    
                // rethrow original errors and runtime exceptions
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
                if (t instanceof Error) {
                    throw (Error) t;
                }
            } finally {
                session.setCurrentProject(null);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

        void testHandleExceptionLoopInCause() {
            // Some broken exception that does return "this" as getCause
            AtomicReference<Throwable> causeRef = new AtomicReference<>(null);
            Exception cause2 = new RuntimeException("loop") {
                @Override
                public synchronized Throwable getCause() {
                    return causeRef.get();
                }
            };
            causeRef.set(cause2);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                    try {
                        return supplier.load();
                    } catch (PluginResolutionException | PluginContainerException e) {
                        throw new RuntimeException(e);
                    }
                });
            } catch (RuntimeException e) {
                if (e.getCause() instanceof PluginResolutionException) {
                    throw (PluginResolutionException) e.getCause();
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * Currently, this modification would create compatibility problems for existing plugins.
     */
    public class DuplicateArtifactAttachmentException extends RuntimeException {
    
        private static final String DEFAULT_MESSAGE = "Duplicate artifact attachment detected.";
    
        private Artifact artifact;
    
        private final MavenProject project;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. 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)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

    /**
     * Exception thrown when the identity of an artifact can not be established,
     * e.g. one of groupId, artifactId, version or type is null.
     */
    public class InvalidArtifactRTException extends RuntimeException {
    
        private final String groupId;
        private final String artifactId;
        private final String version;
        private final String type;
        private final String baseMessage;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  8. maven-core/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 Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenException.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Base class for all maven exceptions.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenException extends RuntimeException {
        public MavenException() {}
    
        public MavenException(String message) {
            super(message);
        }
    
        public MavenException(String message, Throwable cause) {
            super(message, cause);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void put(@Nonnull Path source, @Nonnull URI relativeTarget);
    
        /**
         * PUTs the source byte array to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void putBytes(@Nonnull byte[] source, @Nonnull URI relativeTarget);
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Viewed (0)
Back to top