On Sat, Aug 6, 2016 at 3:15 PM Krzysztof Sobkowiak <
[email protected]> wrote:

> Hi
>
> We are using JAXRSClientFactory to create a client proxy for external
> services. We want to implement a generic
> exception handler which catches the exceptions from the client and wraps
> them in application specific exceptions.
> What are the best practices for client side exceptions handling? Are there
> any samples for this?
>
> Kindly regards
> Krzysztof
>
>
Take a look at the ResponseExceptionMapper interface.  Here's a good
example:

https://www.luckyryan.com/2013/06/15/apache-cxf-exception-handler-for-jaxrs-rest/

Reply via email to