On Monday, April 30, 2012 04:17:59 AM dkundo wrote:
> In my project the web services tier wraps the business logic tier. The BL
> tier generates many types of exceptions. I don't want to enclose all the
> WS -> BL tiers interaction with try..catch blocks, so I'm thinking about
> creating an interceptor which will catch all exceptions and transform
> them into a proper WebFault class.
> While it's possible to provide an interceptor for the outfault chain, it
> seems like at this point the original exception data has been lost already
> as I'm getting the general SOAPFault.
> Any ideas on how to achieve what I want?

Likely it's a SoapFault, (not SOAPFault).   In anycase, did you check the 
"getCause" of the fault?   Most likely the original exception is set as the 
cause. 

Dan



> 
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/generic-exception-handling-tp5675691.html
> Sent from the cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to