You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "aaron pieper (JIRA)" <ji...@apache.org> on 2011/08/25 21:16:30 UTC

[jira] [Updated] (CXF-3762) Add an -exceptionSuper flag, allowing wsdl2java to generate exceptions which extend from java.lang.RuntimeException

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

aaron pieper updated CXF-3762:
------------------------------

    Attachment: patch.txt

A patch for CXF v2.5.0-SNAPSHOT (r1161616) which introduces the new behavior.

> Add an -exceptionSuper flag, allowing wsdl2java to generate exceptions which extend from java.lang.RuntimeException
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3762
>                 URL: https://issues.apache.org/jira/browse/CXF-3762
>             Project: CXF
>          Issue Type: New Feature
>          Components: Tooling
>    Affects Versions: 2.4.2
>            Reporter: aaron pieper
>              Labels: jaxb, wsdl2java
>         Attachments: patch.txt
>
>
> When using CXF's wsdl2java tool, generated exceptions always extend java.lang.Exception. It would be nice if exceptions could optionally extend java.lang.RuntimeException instead. This could be accomplished by adding a flag like -exceptionSuper=.... on the wsdl2java tool, which would allow us to  specify our own superclass.

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