[ 
https://issues.apache.org/jira/browse/CXF-3229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977270#action_12977270
 ] 

Glen Mazza commented on CXF-3229:
---------------------------------

Dan Kulp had suggested a while back a little bit more work would be needed 
(throw clauses in methods also would need updating):
http://cxf.547215.n5.nabble.com/name-collision-Exception-td560353.html

It may be interesting to see what Metro's wsimport equivalent does, they may be 
a step ahead of CXF in this regard:
http://www.jroller.com/gmazza/entry/soap_client_tutorial

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

Reply via email to