[
https://issues.apache.org/jira/browse/THRIFT-3215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-3215.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
Fix Version/s: 0.9.3
Thanks Claudius!
just committed
> 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)