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

nextgens at freenetproject.org nextgens at freenetproject.org
Thu Mar 15 21:18:01 UTC 2007


Author: nextgens
Date: 2007-03-15 21:18:00 +0000 (Thu, 15 Mar 2007)
New Revision: 12145

Modified:
   trunk/apps/new_installer/src/Sha1Test.java
Log:
new_installer: there is no need to recreate the exception ... but we need to catch it anyway ... otherwise it will be handled as an IOException

Modified: trunk/apps/new_installer/src/Sha1Test.java
===================================================================
--- trunk/apps/new_installer/src/Sha1Test.java	2007-03-15 21:06:18 UTC (rev 12144)
+++ trunk/apps/new_installer/src/Sha1Test.java	2007-03-15 21:18:00 UTC (rev 12145)
@@ -117,7 +117,7 @@
 			mue.printStackTrace();
 			System.exit(2);
 		} catch (FileNotFoundException e) {
-			throw new FileNotFoundException();
+			throw e;
 		} catch (IOException ioe) {
 			System.out.println("Caught :"+ioe.getMessage());
 			ioe.printStackTrace();




More information about the cvs mailing list