aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/LaunchException.java3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 217c9a8..8bd1f25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-02 Danesh Dadachanji <[email protected]>
+
+ * netx/net/sourceforge/jnlp/LaunchException.java: Fix message
+ to handle null description
+
2012-02-01 Danesh Dadachanji <[email protected]>
* netx/net/sourceforge/jnlp/LaunchException.java: Add description
diff --git a/netx/net/sourceforge/jnlp/LaunchException.java b/netx/net/sourceforge/jnlp/LaunchException.java
index 321d661..5257607 100644
--- a/netx/net/sourceforge/jnlp/LaunchException.java
+++ b/netx/net/sourceforge/jnlp/LaunchException.java
@@ -52,7 +52,8 @@ public class LaunchException extends Exception {
* Creates a LaunchException without detail message.
*/
public LaunchException(JNLPFile file, Exception cause, String severity, String category, String summary, String description) {
- super(severity + ": " + category + ": " + summary + " " + description);
+ super(severity + ": " + category + ": " + summary + " "
+ + (description == null ? "" : description));
this.file = file;
this.category = category;