You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "James Carman (JIRA)" <ji...@apache.org> on 2015/10/09 16:52:28 UTC

[jira] [Closed] (CXF-6635) Wrong ExceptionMapper Chosen When a Hierarchy is Used

     [ https://issues.apache.org/jira/browse/CXF-6635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Carman closed CXF-6635.
-----------------------------
    Resolution: Done

This issue is already fixed in 3.0.6.  I changed my test code to use 3.0.6 and it went away.  Sweet!  Thanks and sorry for the noise.

> Wrong ExceptionMapper Chosen When a Hierarchy is Used
> -----------------------------------------------------
>
>                 Key: CXF-6635
>                 URL: https://issues.apache.org/jira/browse/CXF-6635
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.0.5
>            Reporter: James Carman
>
> I have an abstract superclass for all of my ExceptionMappers, since they basically all do the same thing, they just handle different exception types.  Anyway, when I try to hit a completely wrong URL, my ExceptionMapper is triggered as opposed to using the built-in ExceptionMapper which would return the 404.  This can be exhibited by the following test case:
> https://github.com/jwcarman/cxf-sandbox/blob/master/jaxrs/src/test/java/com/carmanconsulting/sandbox/cxf/jaxrs/ExceptionMapperTest.java
> I'm working on a patch to CXF now.  Just  needed a JIRA number for the branch name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)