You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jesse Long (JIRA)" <ji...@apache.org> on 2011/01/04 13:13:45 UTC
[jira] Updated: (CXF-3229) Generated Exception files should extend
java.lang.Exception, not Exception
[ 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.