}
public File get( String path )
- throws ProxyException
+ throws ProxyException, ResourceDoesNotExistException
{
//@todo use wagon for cache use file:// as URL
String cachePath = config.getRepositoryCachePath();
}
public File getRemoteFile( String path )
- throws ProxyException
+ throws ProxyException, ResourceDoesNotExistException
{
try
{
{
throw new ProxyException( e.getMessage(), e );
}
- catch ( ResourceDoesNotExistException e )
- {
- throw new ProxyException( e.getMessage(), e );
- }
}
private File getArtifactFile( Artifact artifact )
* limitations under the License.
*/
+import org.apache.maven.wagon.ResourceDoesNotExistException;
+
import java.io.File;
/**
public interface ProxyManager
{
public File get( String path )
- throws ProxyException;
+ throws ProxyException, ResourceDoesNotExistException;
public File getRemoteFile( String path )
- throws ProxyException;
+ throws ProxyException, ResourceDoesNotExistException;
}