[
https://issues.apache.org/jira/browse/CXF-7222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834485#comment-15834485
]
ASF GitHub Bot commented on CXF-7222:
-------------------------------------
GitHub user deki opened a pull request:
https://github.com/apache/cxf/pull/227
CXF-7222: Improve extensibility of JAX-RS ExceptionMappers
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/deki/cxf CXF-7222
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cxf/pull/227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #227
----
commit 3dd000224ae23b21bb9f74ffe6a312ae08360e0e
Author: Dennis Kieselhorst <[email protected]>
Date: 2017-01-23T13:23:44Z
CXF-7222: Improve extensibility of JAX-RS ExceptionMappers
----
> Improve extensibility of JAX-RS ExceptionMappers
> ------------------------------------------------
>
> Key: CXF-7222
> URL: https://issues.apache.org/jira/browse/CXF-7222
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 3.1.9
> Reporter: Dennis Kieselhorst
> Priority: Minor
> Fix For: 3.2.0
>
>
> Currently ValidationExceptionMapper and WebApplicationExceptionMapper only
> allow to return text/plain responses.
> It should be possible to customize the error message and also return json.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)