[ 
https://issues.apache.org/jira/browse/THRIFT-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439234#comment-13439234
 ] 

Hudson commented on THRIFT-1658:
--------------------------------

Integrated in Thrift #518 (See [https://builds.apache.org/job/Thrift/518/])
    Thrift-1658:Java thrift server is not throwing TApplicationException
Client: java
Patch: Keith Turner

Exceptions not being handled correctly within newly modified ProcessFunctions. 
Added back code previously removed from auto generated class. (Revision 1375880)

     Result = FAILURE
                
> 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

        

Reply via email to