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

Non-informative exception thrown in JAXRSUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.3.6, 2.4.2, 2.5
    • JAX-RS
    • None
    • Novice

    Description

      On row 411 of JAXRSUtils.java (in version 2.4.1) a WebApplicationException is thrown, because no operation could be matched for the incoming request. Right before this a nice error message is calculated and logged. This message is however not passed on into the exception that is thrown. The exception itself does not contain any information at all about why it was thrown. Why not add the error message into the WebApplicationException so that the caller can find out what was wrong with the request?

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            mrpi Pierre Ingmansson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: