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