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.