Index: trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 9195)
+++ trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 9196)
@@ -1284,5 +1284,5 @@
             return URLEncoder.encode(s, enc);
         } catch (UnsupportedEncodingException e) {
-            throw new IllegalStateException();
+            throw new IllegalStateException(e);
         }
     }
@@ -1304,5 +1304,5 @@
             return URLDecoder.decode(s, enc);
         } catch (UnsupportedEncodingException e) {
-            throw new IllegalStateException();
+            throw new IllegalStateException(e);
         }
     }
