elharo commented on issue #92:
URL: https://github.com/apache/maven-shared-io/issues/92#issuecomment-5023383089

   This is not a bug. `ArtifactResolutionException` and 
`ArtifactNotFoundException` are **sibling** classes — both extend 
`AbstractArtifactResolutionException` directly. Neither extends the other.
   
   ```
   AbstractArtifactResolutionException
     ├── ArtifactResolutionException
     └── ArtifactNotFoundException
   ```
   
   Both catch blocks in `ArtifactLocatorStrategy.java:161-168` are reachable. 
An `ArtifactNotFoundException` will not be caught by the 
`ArtifactResolutionException` handler.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to