Remove unnecessary "throw UnsupportedEncodingException".