Hi
On 23/09/14 06:10, prabathawcp wrote:
Hi all.
Can anyone tell me how to catch cxf framework exception like json unmarshal
exception , resource not found exception? My purpose is to catch those
exceptions and send these back with standard formats. Currently these
exception thrown only with http error codes. I tried with cxf interceptors
but no success.
The CXF way is to register a custom fault out interceptor. Registering
JAX-RS ExceptionMapper for RuntimeException should also work
Cheers, Sergey
Thanks.
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-catch-cxf-framework-own-exceptions-tp5749068.html
Sent from the cxf-user mailing list archive at Nabble.com.