Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 686 for exceptions (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/ExtensionResolutionException.java

     * under the License.
     */
    package org.apache.maven.cling.extensions;
    
    import org.apache.maven.api.cli.extensions.CoreExtension;
    
    /**
     * Exception occurring trying to resolve a plugin.
     *
     */
    public class ExtensionResolutionException extends Exception {
    
        private final CoreExtension extension;
    
        public ExtensionResolutionException(CoreExtension extension, Throwable cause) {
            super(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerException.java

     * @since 4.0.0
     */
    @Experimental
    public class ArtifactDeployerException extends MavenException {
    
        /**
         * @param message the message of the error
         * @param e {@link Exception}
         */
        public ArtifactDeployerException(String message, Exception e) {
            super(message, e);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

                        visitTree(classDetails, classesDir, jarOutputStream, visited)
                    }
                }
            } catch (exception: Exception) {
                throw ClassAnalysisException("Could not write shaded Jar $jarFile", exception)
            }
        }
    
        private
        fun visitTree(
            classDetails: ClassDetails,
            classesDir: File,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java

            Parameter parameter = new Parameter();
            parameter.setType("java.lang.String[]");
            parameter.setName("toAddresses");
    
            parameter.setRequired(true);
    
            PluginParameterException exception =
                    new PluginParameterException(mojoDescriptor, Collections.singletonList(parameter));
    
            assertEquals(
                    "One or more required plugin parameters are invalid/missing for 'goalPrefix:goal'" + LS
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertEquals("2014-11-16T00:16:00Z", format.format(secondTestDate));
        }
    
        @Test
        public void testShouldNotThrowExceptionOnReferenceToNonExistentValue() throws Exception {
            Model model = new Model(org.apache.maven.api.model.Model.newBuilder()
                    .scm(org.apache.maven.api.model.Scm.newBuilder()
                            .connection("${test}/somepath")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java

     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class UnresolvableModelException extends Exception {
    
        /**
         * The group id of the unresolvable model.
         */
        private final String groupId;
    
        /**
         * The artifact id of the unresolvable model.
         */
        private final String artifactId;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

    import org.apache.maven.project.artifact.InvalidDependencyVersionException;
    import org.apache.maven.settings.Settings;
    import org.codehaus.plexus.PlexusContainer;
    import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
    
    /**
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultPluginManager implements PluginManager {
    
        private final PlexusContainer container;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

     */
    @Named
    @Singleton
    public class EventSpyImpl implements EventSpy {
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent ee) {
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java

     */
    package org.apache.maven.lifecycle;
    
    /**
     * Signals a failure to locate a lifecycle.
     *
     */
    public class LifecycleNotFoundException extends Exception {
    
        private final String lifecycleId;
    
        /**
         * Creates a new exception to indicate that the specified lifecycle is unknown.
         *
         * @param lifecycleId The identifier of the lifecycle that could not be located, may be {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top