- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 769 for thrown (0.04 seconds)
-
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java
"Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertTrue(e.getMessage().contains("Could not find artifact ut.simple:artifact:pom:0 in repo")); } @Test public void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception { final Parent parent = new Parent();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 7.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java
assertExceptionMessageContains("", "anotherArtifact"); // Verify that no exception is thrown when the artifactId is the module name when(artifact.getArtifactId()).thenReturn("org.foo.bar"); projectManager.attachArtifact(project, artifact, artifactPath); // Verify that an exception is thrown when the groupId differs when(artifact.getGroupId()).thenReturn("anotherGroup");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
File f1 = getTestFile( "src/test/resources/projects/parent-version-range-local-child-without-version/child/pom.xml"); ProjectBuildingException e = assertThrows( ProjectBuildingException.class, () -> getProject(f1), "Expected 'ProjectBuildingException' not thrown.");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 17:20:31 GMT 2025 - 33.7K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
given: repository.put('unkown', new TestDomainObject('unknown')) when: repository.get('unknown') then: UnknownDomainObjectException e = thrown() e.message == 'No meta-data is available for class \'unknown\'. Did you mean? [unkown]' } def getFailsForWrongPackage() { given:Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateAgpVersionsTest.groovy
def allVersions = ["8.9.0", "9.0.0"] when: UpdateAgpVersions.selectVersionsFrom(gradleVersion, minimumSupported, allVersions) then: def ex = thrown(IllegalArgumentException) ex.message == "minimumSupported must be at least 9.0.0, was 8.9.0" } def "fail when minimumSupported higher than gradle major when no matching gradle major stable or rc available"() {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Oct 24 09:10:28 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
"Expected 'UnresolvableModelException' not thrown."); assertNotNull(e.getMessage()); assertTrue(e.getMessage().contains("Could not find artifact org.apache:apache:pom:0 in central")); } @Test void testResolveParentThrowsUnresolvableModelExceptionWhenNoMatchingVersionFound() throws Exception { final Parent parent = new Parent();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.7K bytes - Click Count (0) -
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(); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParserException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; import org.apache.maven.api.annotations.Experimental; /** * The Exception class thrown by {@link VersionParser}. * * @since 4.0.0 */ @Experimental public class VersionParserException extends MavenException { /** * @param message the message to giveCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.2K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java
* under the License. */ package org.apache.maven.api.cache; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.services.MavenException; /** * Exception thrown when an error occurs during Maven execution. * This exception wraps the original cause of the execution failure. * * @since 4.0.0 */ @Experimental public class MavenExecutionException extends MavenException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.4K bytes - Click Count (0)