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

Java thrift server is not throwing TApplicationException

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment