Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 528 for thrown (0.26 sec)

  1. maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

                    "Expected 'UnresolvableModelException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = new Parent();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 03 17:49:40 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

                    "Expected 'ModelResolverException' not thrown.");
            assertNotNull(e.getMessage());
            assertThat(e.getMessage(), containsString("Could not find artifact org.apache:apache:pom:0 in central"));
        }
    
        @Test
        void testResolveParentThrowsModelResolverExceptionWhenNoMatchingVersionFound() throws Exception {
            final Parent parent = Parent.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Thrown when a bean couldn't be configured.
     *
     */
    public class BeanConfigurationException extends Exception {
    
        public BeanConfigurationException(String message) {
            super(message);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderException.java

     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception thrown during the reading of an xml file.
     *
     * @since 4.0.0
     */
    @Experimental
    public class XmlReaderException extends MavenException {
    
        private final Location location;
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * Describes a problem that was encountered during project building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/DuplicateArtifactAttachmentException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * This exception is thrown if an application attempts to attach
     * two of the same artifacts to a single project.
     *
     * TODO Make this a checked exception, and modify the API of MavenProjectHelper.
    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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/SuperPomProviderException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    /**
     * Exceptions thrown by the {@link SuperPomProvider} service.
     *
     * @since 4.0.0
     */
    public class SuperPomProviderException extends MavenException {
    
        public SuperPomProviderException() {
            super();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 26 05:17:52 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingResult.java

         * <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the exception
         * is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the project or an empty string if not known, never {@code null}.
         */
        String getProjectId();
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java

    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.project.InvalidProjectVersionException;
    
    /**
     * Thrown if a dependency has an invalid version.
     *
     */
    public class InvalidDependencyVersionException extends InvalidProjectVersionException {
        private Dependency dependency;
    
        public InvalidDependencyVersionException(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultBuilderProblem.java

    package org.apache.maven.internal.impl;
    
    import org.apache.maven.api.services.BuilderProblem;
    
    /**
     * Describes a problem that was encountered during settings building. A problem can either be an exception that was
     * thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
     * that exhibits the problem.
     */
    class DefaultBuilderProblem implements BuilderProblem {
        final String source;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top