Merged from: r639156
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@639158
13f79535-47bb-0310-9956-
ffa450edef68
}
catch ( LayoutException le )
{
- throw new RepositoryPurgeException( le.getMessage() );
+ throw new RepositoryPurgeException( le.getMessage(), le );
}
catch ( ContentNotFoundException e )
{
- throw new RepositoryPurgeException( e.getMessage() );
+ throw new RepositoryPurgeException( e.getMessage(), e );
}
}
{
return;
}
-
+
ArtifactReference artifact = repository.toArtifactReference( path );
if ( VersionUtil.isSnapshot( artifact.getVersion() ) )
}
catch ( LayoutException le )
{
- throw new RepositoryPurgeException( le.getMessage() );
+ throw new RepositoryPurgeException( le.getMessage(), le );
}
catch ( ContentNotFoundException e )
{