Better warning message for when error occurs downloading file.

This commit is contained in:
pesckal
2011-07-10 13:28:22 +00:00
parent 915de2efe8
commit d0e33fd844
@@ -77,6 +77,9 @@ public class FileDownloader implements Runnable {
if (downloadFile(url, dest, progressMonitor)) {
libFile = dest;
}
} catch (FileNotFoundException e) {
Base.showWarning("Trouble downloading file",
"The file was not found on the server.\n", null);
} catch (IOException e) {
Base.showWarning("Trouble downloading file",
"An error occured while downloading the file:\n"