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

Gayathri.Muralidharan commented on CXF-3491:
--------------------------------------------

Hi,

We are using cxf-codegen-plugin's (tested with both 2.3.4 and 2.4.0 versions) 
wsdl2java command in our multi-module maven project.
If we are throwing some exception, the generated code contains a class suffixed 
by _Exception.
Is there any advantage of generating code this way? 
Though not a error, its forcing the client to use the generated 
Any-Exception-Class-Name_Exception class.
Is there any temporary workaround to avoid this Or has this been fixed already ?


Thanks,
Gayathri

> can't refer to java.lang.Exception in gererated client/server main code
> -----------------------------------------------------------------------
>
>                 Key: CXF-3491
>                 URL: https://issues.apache.org/jira/browse/CXF-3491
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.4.1, 2.3.5
>
>
> This is related to CXF-3353, but problem exposed when pass in "all" flag 
> which will generate client and server main process class which should refer 
> java.lang.Exception also

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to