Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aether-users] How to distinguish between a fresh and cached "artifact not found"?

Andreas Sewe wrote:

Anyways, do you think it
would make sense to add this feature to Aether? In the simplest case,
having a subtype of ArtifactNotFoundException (the
ArtifactResolutionException's cause) that encodes the "cached negative
reponse" case would do the trick.

Yes, one way or another (would probably prefer to have a new getter on the exception rather than sub-typing) this is a reasonable feature to add.


Benjamin


Back to the top