]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/HtmlDisplayActivity.java
Add text to all RuntimeExceptions.
[Dictionary.git] / src / com / hughes / android / dictionary / HtmlDisplayActivity.java
index b174da636ecd25a280cade683711217ab9570e53..bf8eda232284bb01bc876252851b191dff8d990a 100644 (file)
@@ -90,7 +90,7 @@ public final class HtmlDisplayActivity extends ActionBarActivity {
             // No way to get pure UTF-8 data into WebView\r
             html = Base64.encodeToString(html.getBytes("UTF-8"), Base64.DEFAULT);\r
         } catch (UnsupportedEncodingException e) {\r
-            throw new RuntimeException(e);\r
+            throw new RuntimeException("Missing UTF-8 support?!", e);\r
         }\r
         // Use loadURL to allow specifying a charset\r
         webView.loadUrl("data:text/html;charset=utf-8;base64," + html);\r