public void retrieve()

in maven2-server-impl/src/org/jetbrains/idea/maven/server/embedder/Maven2ServerIndexFetcher.java [91:106]


  public void retrieve(String name, File targetFile) throws IOException {
    try {
      myWagon.get(name, targetFile);
    }
    catch (AuthorizationException e) {
      throw new IOException("Authorization exception retrieving " + name, e);
    }
    catch (ResourceDoesNotExistException e) {
      IOException newEx = new FileNotFoundException("Resource " + name + " does not exist");
      newEx.initCause(e);
      throw newEx;
    }
    catch (WagonException e) {
      throw new IOException("Transfer for " + name + " failed", e);
    }
  }