You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2012/08/22 04:29:38 UTC

[jira] [Closed] (THRIFT-1658) Java thrift server is not throwing TApplicationException

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

Jake Farrell closed THRIFT-1658.
--------------------------------

    Resolution: Fixed
      Assignee: Keith Turner  (was: Jake Farrell)

Committed
                
> Java thrift server is not throwing TApplicationException
> --------------------------------------------------------
>
>                 Key: THRIFT-1658
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1658
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler, Java - Library
>    Affects Versions: 0.7, 0.8
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 0.9
>
>         Attachments: THRIFT-1658.txt
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira