Updated javadoc annotations

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@385501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-03-13 10:42:34 +00:00
parent ad1714a02d
commit 3bb32024d5

View File

@ -105,6 +105,15 @@ public File getRemoteFile( String path )
return getRemoteFile( path, config.getRepositories() );
}
/**
* Tries to download the path from the list of repositories.
*
* @param path the request path to download from the proxy or repositories
* @param repositories list of ArtifactRepositories to download the path from
* @return File object that points to the downloaded file
* @throws ProxyException
* @throws ResourceDoesNotExistException
*/
private File getRemoteFile( String path, List repositories )
throws ProxyException, ResourceDoesNotExistException
{
@ -523,6 +532,14 @@ private void disconnectWagon( Wagon wagon )
}
}
/**
* Queries the configuration on how to handle a repository download failure
*
* @param repository the repository object where the failure occurred
* @param message the message/reason for the failure
* @param t the cause for the exception
* @throws ProxyException if hard failure is enabled on the repository causing the failure
*/
private void processRepositoryFailure( ProxyRepository repository, String message, Throwable t )
throws ProxyException
{