You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Paul Wilson (JIRA)" <ji...@apache.org> on 2013/05/13 13:15:16 UTC
[jira] [Commented] (CXF-5012) Possible regression in the way
proxies handle HTTP errors
[ https://issues.apache.org/jira/browse/CXF-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13655901#comment-13655901 ]
Paul Wilson commented on CXF-5012:
----------------------------------
Possible workaround - add a catch-all provider:
class RethrowingWebApplicationExceptionMapper implements ResponseExceptionMapper<WebApplicationException> {
@Override
public WebApplicationException fromResponse(Response r) {
throw new WebApplicationException(r);
}
}
> Possible regression in the way proxies handle HTTP errors
> ---------------------------------------------------------
>
> Key: CXF-5012
> URL: https://issues.apache.org/jira/browse/CXF-5012
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.7.4
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
>
> If a proxy can not find a matching HTTP error handler it should throw the exception, 2.7.4 is not handling it correctly
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira