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

Generated Exception files should extend java.lang.Exception, not Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3, 2.3.1, 2.4
    • 2.3.2
    • JAX-RS, Tooling
    • None
    • All

    • Novice

    Description

      WSDL2Java generates Java source code, for faults, it generates exceptions. When the fault name is Exception, the code looks like

      public class Exception extends Exception

      Which is a cyclic inheritance problem. It should be:

      public class Exception extends java.lang.Exception

      Attachments

        1. cxf-Exception.patch
          0.8 kB
          Jesse Long

        Activity

          People

            dkulp Daniel Kulp
            jesselong Jesse Long
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: