- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for InvalidArtifactRTException (0.13 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java
* 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; public InvalidArtifactRTException(String groupId, String artifactId, String version, String type, String message) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} private void validateIdentity() { if (empty(groupId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The groupId cannot be empty."); } if (empty(artifactId)) { throw new InvalidArtifactRTException( groupId, artifactId, getVersion(), type, "The artifactId cannot be empty."); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
assertThrows( InvalidArtifactRTException.class, () -> new DefaultArtifact( groupId, artifactId, version, scope, type, classifier, artifactHandler, false)); if (version == null) { assertThrows( InvalidArtifactRTException.class, () -> new DefaultArtifact(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0)