Jens Geyer created THRIFT-5344:
----------------------------------

             Summary: TTransport may throw raw pointer exceptions
                 Key: THRIFT-5344
                 URL: https://issues.apache.org/jira/browse/THRIFT-5344
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
            Reporter: Jens Geyer


throw raw pointer.
 It will not be caught by try \{...} catch ( const TTransportException& ).
{code:java}
throw new TTransportException(TTransportException::END_OF_FILE, "MaxMessageSize 
reached");
{code}
see also

[THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a 
TConfiguration class (cpp) by zeshuai007 -  Pull Request #2185 -  apache/thrift 
(github.com)|https://github.com/apache/thrift/pull/2185]

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to