Claudius Heine created THRIFT-3215:
--------------------------------------

             Summary: 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


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)

Reply via email to