[ 
https://issues.apache.org/jira/browse/THRIFT-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877991#comment-13877991
 ] 

Roger Meier commented on THRIFT-1761:
-------------------------------------

Yes, TServiceException is what we need as part of the Multiplexed Services 
feature.

could you please rebase this?

thanks
;-r

> Make generated exceptions have a common unique parent
> -----------------------------------------------------
>
>                 Key: THRIFT-1761
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1761
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C++ - Library, Java - Library, JavaME - Library, 
> JavaScript - Library, PHP - Library, Python - Library
>            Reporter: Nathaniel Cook
>              Labels: exception-handling, exceptions
>         Attachments: thrift-1761_php_py_java_cpp_js.patch
>
>
> It would be nice to be able to have exceptions that are thrown by services be 
> caught independently of other thrift exceptions. Currently generated 
> exceptions extend TException directly. They should extend a TServiceException 
> which in turn extends TException. This would allow client code to catch all 
> exceptions thrown by the service without catching exceptions related to the 
> actual thrift communication layer



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to