cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-3911) Exception mapping not applied to exceptions thrown from providers mapping data to brans
Date Wed, 16 Nov 2011 14:19:52 GMT

    [ https://issues.apache.org/jira/browse/CXF-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13151222#comment-13151222
] 

Benson Margulies commented on CXF-3911:
---------------------------------------

Could this have been fixed since 2.5.0? In my original code, I have:
{code}
  <jaxrs:serviceBeans>
      <ref bean="document-service-impl" />
    </jaxrs:serviceBeans>
    <jaxrs:providers>
        <bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/>
        <bean class="com.basistech.rlp.ws.EofExceptionProvider"/>
    </jaxrs:providers>
    </jaxrs:server>
{code}

                
> Exception mapping not applied to exceptions thrown from providers mapping data to brans
> ---------------------------------------------------------------------------------------
>
>                 Key: CXF-3911
>                 URL: https://issues.apache.org/jira/browse/CXF-3911
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.5
>            Reporter: Benson Margulies
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.5, 2.5.1
>
>
> git://github.com/bimargulies/cxf-jaxrs-archetype.git, branch get-mystery, demonstrates
that using an exception mapper to turn an EOFException into a specific response does not work
when the EOF is thrown by the Jackson provided mapping.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message