Author: nextgens
Date: 2006-03-28 11:18:36 +0000 (Tue, 28 Mar 2006)
New Revision: 8333

Modified:
   trunk/apps/installer/src/Sha1Test.java
Log:
installer: FileNotFoundException shouldn't be a fatal error

Modified: trunk/apps/installer/src/Sha1Test.java
===================================================================
--- trunk/apps/installer/src/Sha1Test.java      2006-03-28 10:58:16 UTC (rev 
8332)
+++ trunk/apps/installer/src/Sha1Test.java      2006-03-28 11:18:36 UTC (rev 
8333)
@@ -15,9 +15,12 @@
                String filename = (new File(URI2)).getName();

                while(count<3){
-                       get(URI2+".sha1", filename+".sha1");
-                       if(sha1test(filename)) System.exit(0);
-                       get(URI2, filename);
+                       try{
+                               get(URI2+".sha1", filename+".sha1");
+                               if(sha1test(filename)) System.exit(0);
+                               get(URI2, filename);
+                       }catch(FileNotFoundException){
+                       }
                        count++;
                        try{
                                Thread.sleep(2000);


Reply via email to