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

Java thrift server is not throwing TApplicationException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7, 0.8
    • 0.9
    • None

    Description

      When using thrift to communicate between Java clients and servers, I am no longer seeing TApplicationExceptions when an unexpected exception is thrown on the servers side.

      Thrift 0.6 works, but thrift 0.8 does not. Looking at the Processor code generated by 0.6 it catches Throwable and returns a TApplication exception to the client. The Processor code generated by 0.8 does not do this.

      Attachments

        1. THRIFT-1658.txt
          2 kB
          Keith Turner

        Issue Links

          Activity

            People

              kturner Keith Turner
              kturner Keith Turner
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: