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

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.2
    • 2.4.3
    • Tooling
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: