Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3762

Add an -exceptionSuper flag, allowing wsdl2java to generate exceptions which extend from java.lang.RuntimeException

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.4.3
    • Component/s: Tooling
    • Labels:
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

        1. patch.txt
          11 kB
          aaron pieper

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              piepera aaron pieper
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: