cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: CompletionCallback can not get the Throwable if error occurs in other interceptor (no serviceinvokerInterceptor)
Date Mon, 27 Apr 2015 09:36:30 GMT
Hi - the fix has been done at the HTTP transport level

Thanks, Sergey
On 26/04/15 03:40, iris ding wrote:
> CXF only calls asyncResponseImpl.setUnmappedThrowable if
> the exception is thrown from ServiceInvokerInterceptor and no exception
> mapper has been found for this exception:
> ServiceInvokerInterceptor.handleMessage() -> JAXRSInvoker.invoke ->
> JAXRSInvoker.handleAsyncResponse -> JAXRSInvoker.handleAsyncFault
> However if the exception is thrown after ServiceInvokerInterceptor but in
> JAXRSOutInterceptor.serializeMessage(). Then the completioncallback can not
> get the correct 'Throwable"
>
> I have opened an issue to track this and provide a possible fix. Can you
> please take a look at this problem?
> https://issues.apache.org/jira/browse/CXF-6373
>
> Thanks & Best Regards,
>
> Iris Ding
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CompletionCallback-can-not-get-the-Throwable-if-error-occurs-in-other-interceptor-no-serviceinvokerI-tp5756543.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
>


Mime
View raw message