ResponseExceptionMapper in cxf client
问题 I am trying to handle exceptions using the ResponseExceptionMapper class for my cxf client. ExceptionHandlingCode: public class MyServiceRestExceptionMapper implements ResponseExceptionMapper<Exception> { private static final Logger LOGGER = LoggerFactory.getLogger(MyServiceRestExceptionMapper .class); public MyServiceRestExceptionMapper () { } @Override public Exception fromResponse(Response response) { LOGGER.info("Executing MyServiceRestExceptionMapper class"); Response.Status status =