[ 
https://issues.apache.org/jira/browse/MRESOLVER-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695581#comment-17695581
 ] 

ASF GitHub Bot commented on MRESOLVER-337:
------------------------------------------

cstamas commented on code in PR #262:
URL: https://github.com/apache/maven-resolver/pull/262#discussion_r1122811028


##########
maven-resolver-api/src/main/java/org/eclipse/aether/transfer/RepositoryFilteredException.java:
##########
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.eclipse.aether.transfer;
+
+import org.eclipse.aether.artifact.Artifact;
+import org.eclipse.aether.repository.RemoteRepository;
+
+/**
+ * Thrown when an artifact was filtered from a particular repository.
+ */
+public class RepositoryFilteredException extends ArtifactNotFoundException {
+
+    /*** Creates a new exception with the specified artifact, repository and 
detail message.

Review Comment:
   ?





> Real cause when artifact not found with repository filtering
> ------------------------------------------------------------
>
>                 Key: MRESOLVER-337
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-337
>             Project: Maven Resolver
>          Issue Type: Improvement
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 1.10.0
>
>
> One case from MRESOLVER-335.
> When we use remote repository filtering real cause for artifact not found may 
> be hidden.
> We can return first ArtifactNotFoundException which is not caused by 
> filtering.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to