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

Improve extensibility of JAX-RS ExceptionMappers

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment