Why all caps?

Sent from mobile device, please ignore spelling mistakes.
Von: pengzhouhu (JIRA)
Gesendet: 15.08.2019 11:03
An: dev@thrift.apache.org
Betreff: [jira] [Created] (THRIFT-4927) The java Library 
UnsupportedEncodingException is not clear

pengzhouhu created THRIFT-4927:

             Summary: The java Library UnsupportedEncodingException is not clear
                 Key: THRIFT-4927
                 URL: https://issues.apache.org/jira/browse/THRIFT-4927
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Library
    Affects Versions: 0.12.0
            Reporter: pengzhouhu

In the TSaslTransport and TSaslClientTransport java classes,

After the try catch UnsupportedEncodingException for the code new 
String(payload,"UTF-8") and getBytes("UTF-8")

Throw new TTransportException(e);

This exception is ambiguous and should be consistent with the processing of 
other classes;

Throw new TTransportException("JVM DOES NOT SUPPORT UTF-8");

So I took the branch and modified it.

This message was sent by Atlassian JIRA

Reply via email to