cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aaron pieper (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3762) Add an -exceptionSuper flag, allowing wsdl2java to generate exceptions which extend from java.lang.RuntimeException
Date Thu, 25 Aug 2011 19:16:30 GMT

     [ 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

        

Mime
View raw message