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

Improve extensibility of JAX-RS ExceptionMappers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.9
    • 3.1.10, 3.2.0
    • JAX-RS
    • None
    • Novice
    • Patch

    Description

      Currently ValidationExceptionMapper and WebApplicationExceptionMapper only allow to return text/plain responses.

      It should be possible to customize the error message and also return json.

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              deki Dennis Kieselhorst
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: