[
https://issues.apache.org/jira/browse/THRIFT-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422556#comment-13422556
]
Keith Turner commented on THRIFT-1658:
--------------------------------------
Looking at the history of t_java_generator.cc, svn commit 1063907 has the code
to generate the code. svn commit 1068487 seems to remove the code.
The comment for commit 1068487 is "THRIFT-447. java: Make an abstract base
Client class so we can generate less code"
> Java thrift server is not throwing TApplicationException
> --------------------------------------------------------
>
> Key: THRIFT-1658
> URL: https://issues.apache.org/jira/browse/THRIFT-1658
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.7, 0.8
> Reporter: Keith Turner
> Assignee: Jake Farrell
>
> 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