Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1761

Make generated exceptions have a common unique parent

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              nvcook42 Nathaniel Cook
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: