cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Long (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-3229) Generated Exception files should extend java.lang.Exception, not Exception
Date Tue, 04 Jan 2011 12:13:45 GMT

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

Jesse Long updated CXF-3229:
----------------------------

    Attachment: cxf-Exception.patch

This is the patch against trunk to resolve the issue, probably will patch cleanly against
2.3x branch too

> Generated Exception files should extend java.lang.Exception, not Exception
> --------------------------------------------------------------------------
>
>                 Key: CXF-3229
>                 URL: https://issues.apache.org/jira/browse/CXF-3229
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, Tooling
>    Affects Versions: 2.3.0, 2.3.1, 2.4
>         Environment: All
>            Reporter: Jesse Long
>         Attachments: cxf-Exception.patch
>
>
> WSDL2Java generates Java source code, for faults, it generates exceptions. When the fault
name is Exception, the code looks like
> public class Exception extends Exception
> Which is a cyclic inheritance problem. It should be:
> public class Exception extends java.lang.Exception

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message