Report the underlying error message when failing due to paths that jar: URLs

can't handle.
This commit is contained in:
Michael Bayne
2011-01-31 18:16:47 +00:00
parent f60d063711
commit 2f29c77cdf
@@ -120,7 +120,8 @@ public abstract class Getdown extends Thread
dir = System.getProperty("user.dir");
}
String errmsg = "The directory in which this application is installed:\n" + dir +
"\nis invalid. The directory must not contain the '!' character. Please reinstall.";
"\nis invalid (" + e.getMessage() + "). If the full path to the app directory " +
"contains the '!' character, this will trigger this error.";
fail(errmsg);
}
_app = new Application(appDir, appId, signers, jvmargs, appargs);