RestEasy Post Process Interceptor chain not traversed when response created by ExceptionMapper
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using RestEasy to build up my Restful web services. I have implemented ExceptionMappers to prepare specific exception responses. I have also implemented MessageBodyWriterInterceptors and a couple of PostProcessorInterceptors. Issue: All works fine when any resource does not throw any exception. My implementation works as expected. All the post processor interceptors and the message body writer interceptors are called. But when an exception is thrown from any of the resource methods, the registered ExceptionMappers are called and it is