1   
2   
3   
4   
5   
6   
7   
8   
9   
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  package org.apache.maven.artifact.resolver;
20  
21  import java.util.List;
22  
23  import org.apache.maven.artifact.Artifact;
24  import org.apache.maven.artifact.repository.ArtifactRepository;
25  
26  
27  
28  
29  public class ArtifactResolutionException extends AbstractArtifactResolutionException {
30      @SuppressWarnings("checkstyle:parameternumber")
31      public ArtifactResolutionException(
32              String message,
33              String groupId,
34              String artifactId,
35              String version,
36              String type,
37              String classifier,
38              List<ArtifactRepository> remoteRepositories,
39              List<String> path,
40              Throwable t) {
41          super(message, groupId, artifactId, version, type, classifier, remoteRepositories, path, t);
42      }
43  
44      public ArtifactResolutionException(
45              String message,
46              String groupId,
47              String artifactId,
48              String version,
49              String type,
50              String classifier,
51              Throwable t) {
52          super(message, groupId, artifactId, version, type, classifier, null, null, t);
53      }
54  
55      public ArtifactResolutionException(String message, Artifact artifact) {
56          super(message, artifact);
57      }
58  
59      public ArtifactResolutionException(String message, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
60          super(message, artifact, remoteRepositories);
61      }
62  
63      public ArtifactResolutionException(String message, Artifact artifact, Throwable cause) {
64          super(message, artifact, null, cause);
65      }
66  
67      public ArtifactResolutionException(
68              String message, Artifact artifact, List<ArtifactRepository> remoteRepositories, Throwable cause) {
69          super(message, artifact, remoteRepositories, cause);
70      }
71  }