cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iris ding <>
Subject CompletionCallback can not get the Throwable if error occurs in other interceptor (no serviceinvokerInterceptor)
Date Sun, 26 Apr 2015 02:40:14 GMT
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?

Thanks & Best Regards,

Iris Ding

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message