On 12/12/12 17:39, Ivan.Latysh wrote:
Ivan.Latysh wrote
I have made a small project with a service class and an interceptor.
It is an IntelliJ IDEA project. In the out/artifacts you have pre-built
cxf_fault_interceptors.war that has 2 endpoints:
/service/success?id=1 - always return SUCCESS message
/service/fault?id=1 - always fail
So to test the setup please deploy the war than hit 2 urls:
/service/fault?id=1 - will throw RuntimeException that will be caught by
the interceptor
/service/fault?id=1ER - will newer get to the Interceptor
Full project folder (21M):
https://www.dropbox.com/sh/y7l43z26oabs0xg/stpb-AJWhu
If you can catch parsing exception, please let me know how.
I've downloaded the war, can you upload the source of the out fault
interceptor only ?
Sergey
Thank you in advance.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Intercepting-exceptions-on-the-server-side-tp5719964p5720153.html
Sent from the cxf-user mailing list archive at Nabble.com.