[freenet-cvs] r12101 - trunk/apps/new_installer/src

nextgens at freenetproject.org nextgens at freenetproject.org
Sun Mar 11 16:25:11 UTC 2007


Author: nextgens
Date: 2007-03-11 16:25:10 +0000 (Sun, 11 Mar 2007)
New Revision: 12101

Modified:
   trunk/apps/new_installer/src/Sha1Test.java
Log:
new_installer: Sha1test: we don't need to scare the user if our mirrors aren't up to date yet.

Modified: trunk/apps/new_installer/src/Sha1Test.java
===================================================================
--- trunk/apps/new_installer/src/Sha1Test.java	2007-03-11 16:15:59 UTC (rev 12100)
+++ trunk/apps/new_installer/src/Sha1Test.java	2007-03-11 16:25:10 UTC (rev 12101)
@@ -115,19 +115,18 @@
 			os.close();
 
 		} catch (MalformedURLException mue) {
-
-			System.out.println("Ouch - a MalformedURLException happened.");
+			System.out.println("Ouch - a MalformedURLException happened ; please report it.");
 			mue.printStackTrace();
 			System.exit(2);
-
-		} catch (Exception ioe) {
+		} catch (FileNotFoundException e) {
+			throw new FileNotFoundException();
+		} catch (IOException ioe) {
 			System.out.println(ioe);
 			ioe.printStackTrace();
 		} finally {
 			try {
 				if(is != null) is.close();
-			} catch (IOException ioe) {
-			}
+			} catch (IOException ioe) {}
 		}
 	}
 }




More information about the cvs mailing list