Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InvalidArtifactRTException (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top