You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2012/05/03 14:46:49 UTC

[jira] [Resolved] (CXF-4284) Fix JAXB-based providers to report 400 for all read-related exceptions

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

Sergey Beryozkin resolved CXF-4284.
-----------------------------------

    Resolution: Fixed

thanks for the patches
                
> Fix JAXB-based providers to report 400 for all read-related exceptions
> ----------------------------------------------------------------------
>
>                 Key: CXF-4284
>                 URL: https://issues.apache.org/jira/browse/CXF-4284
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.6.1, 2.5.4, 2.4.8, 2.3.11
>
>         Attachments: AbstractJAXBProvider.java.patch, JSONProvider.java.patch, JSONProviderTest.java.patch
>
>
> JAXBElementProvider and JSONProvider already report 400 if JAXBException is thrown.
> Both should also report 400 in case of the base Exceptions uncaught by earlier blocks, and JSONProvider - also in case of XMLStreamException

--
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