You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Nathaniel Cook (JIRA)" <ji...@apache.org> on 2012/05/02 01:00:52 UTC

[jira] [Updated] (THRIFT-1588) Java Generated Exceptions don't follow inheritance pattern as other Languages

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

Nathaniel Cook updated THRIFT-1588:
-----------------------------------

    Attachment: THRIFT-1588.patch

This patch improves the java and cpp tests to make sure the generated exceptions extend TException.
                
> Java Generated Exceptions don't follow inheritance pattern as other Languages
> -----------------------------------------------------------------------------
>
>                 Key: THRIFT-1588
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1588
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Compiler
>    Affects Versions: 0.9
>            Reporter: Nathaniel Cook
>            Assignee: Roger Meier
>              Labels: Exception, Java
>         Attachments: THRIFT-1588.patch
>
>
> Generated Exceptions for Java extend the base Exception class in Java instead of the TException. This makes it difficult to catch exceptions specific to the thrift services. 

--
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