|
From: Marco B. <ma...@ma...> - 2013-12-16 11:26:35
|
Hi guys, when using the RestEasy proxy framework. is there a way to "swallow" all infrastructure exceptions (e.g. timeout, connection error, broken pipe) and return some other object instead? Example: "public MyApplicationResponse<?> doSomeCall() " should not throw an exception when a http timeout occurs, but rather return an MyApplicationErrorResponse object. >From the documentation I'm note quite sure if filters/interceptors are applicable here. Thanks Marco |