aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge
diff options
context:
space:
mode:
authorDanesh Dadachanji <[email protected]>2012-02-02 16:15:27 -0500
committerDanesh Dadachanji <[email protected]>2012-02-02 16:15:27 -0500
commitcb09f782e2d6c3f92f5f1d5b870a19b6ecbb8f24 (patch)
tree29af5ea4d446f85e2bfd7351ad56222645673770 /netx/net/sourceforge
parent9d23c71049b7f3b12fd224fe362a7d1c1f5e31a9 (diff)
Fix LaunchException constructor to handle null a description.
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r--netx/net/sourceforge/jnlp/LaunchException.java3
1 files changed, 2 insertions, 1 deletions
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;