Revision: 4801
http://sourceforge.net/p/vexi/code/4801
Author: mkpg2
Date: 2015-06-28 20:03:31 +0000 (Sun, 28 Jun 2015)
Log Message:
-----------
Fix. Show error, do not exit when there is a hash mismatch. As usually (i.e.
windows) the command window will disappear and not be visible (if it is even
shown) when launching from the windows gui.
Modified Paths:
--------------
trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherMain.java
Modified:
trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherMain.java
===================================================================
--- trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherMain.java
2015-06-28 18:46:12 UTC (rev 4800)
+++ trunk/org.vexi-launcher/src/main/java/org/vexi/launcher/LauncherMain.java
2015-06-28 20:03:31 UTC (rev 4801)
@@ -110,13 +110,15 @@
return;
}
}
- log.error("** Launcher incompatible, please download
new version **");
- log.log("our hash: "+hash);
- log.log("allowed: ");
+
+ StringBuilder sb = new StringBuilder();
+ sb.append("** Launcher incompatible, please download
new version **\n");
+ sb.append("our hash: "+hash+"\n");
+ sb.append("allowed: \n");
for(String hash: hashes.split("\n")){
- log.log(" "+hash);
+ sb.append(" "+hash+"\n");
}
- System.exit(0);
+ throw new Problem(sb.toString());
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn