You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/04/09 16:06:00 UTC

[jira] [Resolved] (THRIFT-1761) Make generated exceptions have a common unique parent

     [ https://issues.apache.org/jira/browse/THRIFT-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III resolved THRIFT-1761.
----------------------------------------
    Resolution: Won't Fix
      Assignee: James E. King, III

Based on inactivity and the discussion indicating this is not necessary I am resolving this as won't fix.

> 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, PHP - Library, Python - Library
>            Reporter: Nathaniel Cook
>            Assignee: James E. King, III
>            Priority: Major
>              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
(v7.6.3#76005)