From c40f084a6d3e897785f2fbff3ddb97545644cddc Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 11 Dec 2006 15:34:39 +0000
Subject: [PATCH] The following modifications include the comments from Neil and Brian (thanks to both for your help):
---
opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartDownloader.java | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartDownloader.java b/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartDownloader.java
index 7f50479..1e13c89 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartDownloader.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/webstart/WebStartDownloader.java
@@ -42,7 +42,7 @@
/**
* This class is used to download the files that have been marked as lazy
- * in the OpenDSQuickSetup.jnlp file.
+ * in the QuickSetup.jnlp file.
*
* The global idea is to force the user to download just one jar file
* (quicksetup.jar) to display the Web Start installer dialog. Then QuickSetup
@@ -132,12 +132,12 @@
ex =
new InstallException(InstallException.Type.DOWNLOAD_ERROR,
getExceptionMsg("downloading-error", arg, ioe), ioe);
- } catch (RuntimeException re)
+ } catch (Throwable t)
{
// This is a bug
ex =
new InstallException(InstallException.Type.BUG, getExceptionMsg(
- "bug-msg", re), re);
+ "bug-msg", t), t);
}
}
});
@@ -403,14 +403,14 @@
}
/* Some commodity methods to get localized messages */
- private String getExceptionMsg(String key, Exception ex)
+ private String getExceptionMsg(String key, Throwable t)
{
- return getExceptionMsg(key, null, ex);
+ return getExceptionMsg(key, null, t);
}
- private String getExceptionMsg(String key, String[] args, Exception ex)
+ private String getExceptionMsg(String key, String[] args, Throwable t)
{
- return Utils.getExceptionMsg(ResourceProvider.getInstance(), key, args, ex);
+ return Utils.getThrowableMsg(ResourceProvider.getInstance(), key, args, t);
}
private String getMsg(String key, String[] args)
--
Gitblit v1.10.0