ArtifactResultData (RepositorySystemSession session, ArtifactRequest request) { try { return new ArtifactResultData(myWrapee.resolveArtifact(session, request), null); } catch (ArtifactResolutionException e) { return new ArtifactResultData(e.getResult(), e); } }