commit | abaa4d9578079e40f056177b1d8b3ad56db4c243 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Fri Nov 23 22:11:53 2012 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Fri Nov 23 22:11:53 2012 -0800 |
tree | d3a24dfa19241ba39fc898de8aab5a067a79ddc1 | |
parent | f94d40de660b0a97b7749410c34fbb8272375b1e [diff] |
Wrap URLEncoder, URLDecoder These classes throw an exception that is ugly to work with when using UTF-8 encoding as the JVM is required to support UTF-8, which means the declared exception cannot occur. Wrap these into a helper class that catches the declared exception and rethrows as RuntimeException. Change-Id: Id277cf029348583f5edad5f5447b4ec4198dc980