Re: [Resteasy-users] Client API Exception Mapper

2014-04-29 Thread Rodrigo Uchôa
If not in a filter, is there any place else? On Tue, Apr 29, 2014 at 12:40 PM, Bill Burke wrote: > JAx-RS requires that any exception thrown in a filter should be wrapped > by ResponseProcessingException. So, I don't think you should be > implementing this in a filter. > > On 4/28/2014 3:52 PM

Re: [Resteasy-users] Client API Exception Mapper

2014-04-29 Thread Bill Burke
JAx-RS requires that any exception thrown in a filter should be wrapped by ResponseProcessingException. So, I don't think you should be implementing this in a filter. On 4/28/2014 3:52 PM, Rodrigo Uchôa wrote: > Hi everyone! > > Is there a way, using the client API, to map HTTP response codes t

[Resteasy-users] Client API Exception Mapper

2014-04-28 Thread Rodrigo Uchôa
Hi everyone! Is there a way, using the client API, to map HTTP response codes to Exceptions? I'm developing clients that make calls to REST endpoins. These endpoins return multiple response error codes. To make things easier on the client side, I would like to map these response codes to some of