[ https://issues.apache.org/jira/browse/THRIFT-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618342#comment-14618342 ]
Hudson commented on THRIFT-3215: -------------------------------- SUCCESS: Integrated in Thrift #1595 (See [https://builds.apache.org/job/Thrift/1595/]) THRIFT-3215 Replaces "throw new" in TJSONProtocol with a "throw" (+ testcase) (r.meier: rev 8f11f52341f5984f77b2510094e51e6aef4c3552) * lib/cpp/test/JSONProtoTest.cpp * lib/cpp/src/thrift/protocol/TJSONProtocol.cpp > TJSONProtocol '(c++) uses "throw new" to throw exceptions instead of "throw" > ---------------------------------------------------------------------------- > > Key: THRIFT-3215 > URL: https://issues.apache.org/jira/browse/THRIFT-3215 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Affects Versions: 0.9.2 > Reporter: Claudius Heine > Assignee: Roger Meier > Fix For: 0.9.3 > > > The C++ implementation of the TJSONProtocol throws TProtocolExceptions via > "throw new TProtocolException". > To catch those exceptions you need to "catch (TProtocolException* e)" instead > of "catch (TProtocolException& e)". -- This message was sent by Atlassian JIRA (v6.3.4#6332)