summaryrefslogtreecommitdiff
path: root/javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java
diff options
context:
space:
mode:
Diffstat (limited to 'javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java')
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java b/javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java
index 23ab8022e17c..95d401440b3d 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/UnoUrl.java
@@ -241,8 +241,8 @@ public class UnoUrl {
}
} catch (UnsupportedEncodingException e) {
- throw new com.sun.star.lang.IllegalArgumentException(
- "Couldn't convert parameter string to UTF-8 string:" + e.getMessage());
+ throw new com.sun.star.lang.IllegalArgumentException(e,
+ "Couldn't convert parameter string to UTF-8 string");
}
}